音视频呼叫优化

This commit is contained in:
2022-02-21 09:30:00 +08:00
parent 4f7096a9c4
commit ce954c5dcc
6 changed files with 35 additions and 17 deletions

View File

@@ -74,9 +74,10 @@
onLoad(e) {
this.targetId = e.targetId
// 获取群成员数量
getGroupBase(this.targetId).then(res => {
getGroupBase(this.targetId).then(res => {
console.log(res);
uni.setNavigationBarTitle({
title: this.groupInfo.name + `(${res.members})`
title: res.name + `(${res.members})`
})
})
// 获取历史消息列表
@@ -100,9 +101,6 @@
this.$refs.messageBar.onHidePopus()
},
toUser(item) {
if (item.senderUserId == '__system__') {
return
}
if (item.messageDirection == 1) {
uni.navigateTo({
url: '/pages/im/friends/mine?targetId=' + item.senderUserId