From 013c030963aef06a00ac33d5f767cbd97ef2ceac Mon Sep 17 00:00:00 2001 From: zhangdongxue Date: Fri, 25 Feb 2022 14:45:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=A4=E9=87=8D=E5=A4=8D=E9=82=80=E8=AF=B7?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages/im/group/invite.vue | 15 ++++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 1ad8585..f92dfdb 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ - { +{ "name" : "ZH-HEALTH", "appid" : "__UNI__C29473D", "description" : "ZH-HEALTH,您手上的健康管理专家", - "versionName" : "1.0.19", + "versionName" : "1.0.20", "versionCode" : 100, "transformPx" : false, /* 5+App特有相关 */ diff --git a/pages/im/group/invite.vue b/pages/im/group/invite.vue index bab8744..a994fc2 100644 --- a/pages/im/group/invite.vue +++ b/pages/im/group/invite.vue @@ -26,7 +26,8 @@ - 完成{{`(${checkboxValue.length})` || ''}} + 添加中{{`(${checkboxValue.length})` || ''}} + 完成{{`(${checkboxValue.length})` || ''}} @@ -63,7 +64,8 @@ friends: [], orignalFriends: [], checkboxValue: [], - selectValue: [] + selectValue: [], + canInvite:false }; }, onLoad(e) { @@ -123,7 +125,8 @@ }, onInvite() { console.log(this.checkboxValue, 'userIds.....') - console.log(this.selectValue, 'userIds.....') + console.log(this.selectValue, 'userIds.....') + this.canInvite = true let userIds = [] this.checkboxValue.filter(item => { if (!utils.inArray(item, this.selectValue)) { @@ -136,9 +139,11 @@ delta: 1, animationType: 'pop-out', animationDuration: 200 - }); + }); + this.canInvite = false uni.$emit('groupInvitedUser') - }).catch(err => { + }).catch(err => { + this.canInvite = false uni.showToast({ icon: 'none', title: err.message