From 35a0c77a631df4e843a1e80ed98fe14fb2a02884 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期一, 24 三月 2025 11:48:28 +0800 Subject: [PATCH] Merge branch 'dev' --- src/components/flow/Dept/index.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/components/flow/Dept/index.vue b/src/components/flow/Dept/index.vue index b119eef..7081767 100644 --- a/src/components/flow/Dept/index.vue +++ b/src/components/flow/Dept/index.vue @@ -74,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