diff --git a/pages/im/group/chat.vue b/pages/im/group/chat.vue index b75f21a..525563f 100644 --- a/pages/im/group/chat.vue +++ b/pages/im/group/chat.vue @@ -52,10 +52,12 @@ } } } + }, + onShow() { + this.initGroupInfo() }, onLoad(e) { this.targetId = e.targetId - this.initGroupInfo() // 获取历史消息列表 this.getMessageList() // 监听新消息 diff --git a/pages/im/group/reviewed.vue b/pages/im/group/reviewed.vue index 8f09af0..f861dce 100644 --- a/pages/im/group/reviewed.vue +++ b/pages/im/group/reviewed.vue @@ -22,7 +22,7 @@ - 暂无群聊申请数据~ + 暂无群聊申请数据 @@ -82,7 +82,6 @@ uni.$emit('groupInvitedUser') } }) - }).catch(err => { // uni.showToast({ // title: err.message,