From ecb3896ed4e76701c2247520e456c2f8cb29e908 Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期四, 26 十二月 2024 16:22:38 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/components/flow/Dept/index.vue | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/components/flow/Dept/index.vue b/src/components/flow/Dept/index.vue index 0f23c51..44fcb17 100644 --- a/src/components/flow/Dept/index.vue +++ b/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) { -- Gitblit v1.8.0