fix: 去除<el-dialog/>中:modal="false"属性

This commit is contained in:
tony
2022-12-27 14:02:56 +08:00
parent 2ffb755f8c
commit bdf4ebf03e
8 changed files with 18 additions and 38 deletions

View File

@@ -33,12 +33,6 @@ export default {
bpmnModeler,
vkBeautify
},
props: {
deployId: {
type: String,
default: ''
},
},
// 自定义指令
directives: {
deep: true,
@@ -84,18 +78,12 @@ export default {
};
},
watch: {
deployId: {
handler(newVal) {
if (newVal) {
this.getXmlData(newVal);
}
},
immediate: true, // 立即生效
deep: true //监听对象或数组的时候,要用到深度监听
},
},
created () {
const deployId = this.$route.query && this.$route.query.deployId;
// 查询流程xml
if (deployId) {
this.getXmlData(deployId);
}
this.getDicts("sys_process_category").then(res => {
this.categorys = res.data;
});