From 2840952a41415eda6cf24095a4e3cef6c38a12db Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 27 Jun 2023 11:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Announce/AppAnnounce/components/Add.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/project/qianxinan/Announce/AppAnnounce/components/Add.vue b/project/qianxinan/Announce/AppAnnounce/components/Add.vue index 46ad9177..479c8579 100644 --- a/project/qianxinan/Announce/AppAnnounce/components/Add.vue +++ b/project/qianxinan/Announce/AppAnnounce/components/Add.vue @@ -33,11 +33,11 @@ @change="onSelcetChange">
-
+
{{ item.groupOwnerName }} 等{{ form.wxGroups.length }}个
- 请选择 + 请选择
{{ form.filterCriteria.length ? '重新选择' : '选择' }}
@@ -54,7 +54,7 @@
-
+
@@ -173,7 +173,7 @@
-
+
{{ item.name }}
请选择 @@ -381,10 +381,11 @@ export default { groupLen() { let i = 0 - this.form.wxGroups.forEach(v => { - i = i + v.groupIds.split(',').length - }) - + if(this.form.wxGroups && this.form.wxGroups.length) { + this.form.wxGroups.forEach(v => { + i = i + v.groupIds.split(',').length + }) + } return i } },