From b7cfcfa52571e382fa0ad68dd665fee1c716715c Mon Sep 17 00:00:00 2001 From: danshihao Date: Thu, 15 Dec 2022 15:05:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=91=8A=E7=AE=A1=E7=90=86-=E6=9D=83?= =?UTF-8?q?=E9=99=90=EF=BC=9A=E5=85=A8=E9=80=89=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Report/ReportManager.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/Report/ReportManager.vue b/src/views/Report/ReportManager.vue index f8f2d67..ec486a5 100644 --- a/src/views/Report/ReportManager.vue +++ b/src/views/Report/ReportManager.vue @@ -346,8 +346,9 @@ multiple collapse-tags @change="changeSelect" + @visible-change="changeSelect" placeholder="请选择"> - 全选 + 全选 @@ -497,7 +498,7 @@ export default { // this.$emit('update:updateMultipleSelect',this.reportF.reportUserIdList); }, changeSelect(val) { - this.checked = val.length === this.userList.length; + this.checked = (val.length || this.reportF.reportUserIdList.length) === this.userList.length; // this.$emit('update:updateMultipleSelect',this.reportF.reportUserIdList); }, init() {