From d0e146a822affc62b511552c9231039b19a39bfc Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 26 十二月 2024 17:47:45 +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