src/components/flow/Dept/index.vue
@@ -7,6 +7,7 @@ :destroy-on-close="true" :close-on-click-modal="false" :modal="false" :before-close="close"> <el-tree ref="tree" @@ -66,6 +67,11 @@ methods: { setCheckList(value) { this.checkList = value this.$nextTick(() => { if (this.$refs.tree && this.checkeds) { this.$refs.tree.setCheckedKeys(this.checkeds); } }); }, handleCheckChange(data, checked, indeterminate) { if (checked) {