提交 b902d2a0 编写于 作者: haochangdi's avatar haochangdi

修改字段名称

上级 7f9aa6dc
......@@ -418,7 +418,7 @@ class RtcClient {
add(id, uid, isMask) {
this.vueInstance.memberList.forEach((ele,index) => {
if (ele.accId == uid) {
if (ele.liveUserId == uid) {
this.viewslist[index] = { id: id, userId: uid, nick: uid, mask: isMask, vioce: true }
}
});
......
......@@ -143,7 +143,7 @@ export default {
this.memberList[1] = Object.assign(item,{status: 1})
}
if (item.role == 4) {
this.userId = item.accId
this.userId = item.liveUserId
}
})
}
......@@ -297,7 +297,7 @@ export default {
// 用户上线
addNewMember(id) {
this.memberList.forEach(item => {
if (item.accId == id) {
if (item.liveUserId == id) {
item.status = 2
this.setTime(item.role)
}
......@@ -306,7 +306,7 @@ export default {
// 用户下线
removeMember(id) {
this.memberList.forEach(item => {
if (item.accId == id) {
if (item.liveUserId == id) {
item.status = 3
}
})
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册