From fabe25575a7b8c8d4bef61c4ef4deaa7dc219cfe Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 03 三月 2025 01:20:00 +0800 Subject: [PATCH] Merge branch 'dev' --- src/components/flow/Dept/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/flow/Dept/index.vue b/src/components/flow/Dept/index.vue index 44fcb17..7081767 100644 --- a/src/components/flow/Dept/index.vue +++ b/src/components/flow/Dept/index.vue @@ -4,7 +4,6 @@ :title="`閫夋嫨鍊欓�夐儴闂╜" :visible.sync="show" width="65%" - :destroy-on-close="true" :close-on-click-modal="false" :modal="false" @@ -75,7 +74,9 @@ }, handleCheckChange(data, checked, indeterminate) { if (checked) { - this.checkList.push(data) + if (this.checkList.indexOf(data) === -1) { + this.checkList.push(data) + } } else { this.checkList = this.checkList.filter(item => item !== data) } -- Gitblit v1.8.0