This commit is contained in:
2022-02-23 16:38:14 +08:00
parent 2ce4bb827f
commit 768edb8e87
2 changed files with 4 additions and 3 deletions

View File

@@ -53,9 +53,11 @@
} }
} }
}, },
onShow() {
this.initGroupInfo()
},
onLoad(e) { onLoad(e) {
this.targetId = e.targetId this.targetId = e.targetId
this.initGroupInfo()
// 获取历史消息列表 // 获取历史消息列表
this.getMessageList() this.getMessageList()
// 监听新消息 // 监听新消息

View File

@@ -22,7 +22,7 @@
<view class="no-lists" v-else> <view class="no-lists" v-else>
<u-image class="cover" radius="4" width="400rpx" height="400rpx" <u-image class="cover" radius="4" width="400rpx" height="400rpx"
:src="require('@/static/imgs/no-friend.png')" :lazy-load="true" /> :src="require('@/static/imgs/no-friend.png')" :lazy-load="true" />
<span> 暂无群聊申请数据~</span> <span>暂无群聊申请数据</span>
</view> </view>
</view> </view>
</template> </template>
@@ -82,7 +82,6 @@
uni.$emit('groupInvitedUser') uni.$emit('groupInvitedUser')
} }
}) })
}).catch(err => { }).catch(err => {
// uni.showToast({ // uni.showToast({
// title: err.message, // title: err.message,