From e77a81e38e15ba576109b7d4ffda74e3e3152c31 Mon Sep 17 00:00:00 2001 From: zhangdongxue Date: Fri, 18 Feb 2022 14:39:44 +0800 Subject: [PATCH 1/3] ... --- pages/im/group/info.vue | 9 +- pages/im/group/invite.vue | 181 +++++++++++++++++++----------------- pages/im/group/reviewed.vue | 5 +- 3 files changed, 101 insertions(+), 94 deletions(-) diff --git a/pages/im/group/info.vue b/pages/im/group/info.vue index 4c185f1..5dee573 100644 --- a/pages/im/group/info.vue +++ b/pages/im/group/info.vue @@ -84,15 +84,10 @@ onLoad(e) { this.targetId = e.targetId this.qrContent += e.targetId - RongIMLib.getConversationNotificationStatus(this.conversationType, this.targetId, ({ - status - }) => { + RongIMLib.getConversationNotificationStatus(this.conversationType, this.targetId, ({status}) => { this.status = !Boolean(status) }) - RongIMLib.getConversation(this.conversationType, this.targetId, ({ - code, - conversation - }) => { + RongIMLib.getConversation(this.conversationType, this.targetId, ({code,conversation}) => { if (code == 0) { this.isTop = conversation.isTop } diff --git a/pages/im/group/invite.vue b/pages/im/group/invite.vue index 2abafc0..dec52c5 100644 --- a/pages/im/group/invite.vue +++ b/pages/im/group/invite.vue @@ -1,74 +1,59 @@