直播
This commit is contained in:
parent
dc03b9f410
commit
7d13fc8e85
@ -445,6 +445,7 @@ export default {
|
||||
that.room = that.chatRoomService.room;
|
||||
that.chatRoomService.initialWhenOnlineUserChange(that.newpeople)
|
||||
that.chatRoomService.initialWhenNewMessage(that.whenNewMessage);
|
||||
this.$forceUpdate();
|
||||
console.log(that.room)
|
||||
}
|
||||
})
|
||||
@ -467,6 +468,7 @@ export default {
|
||||
},
|
||||
newpeople(list){
|
||||
this.room.onlineUsers = list
|
||||
console.log(list.users.length)
|
||||
this.$forceUpdate();
|
||||
},
|
||||
sendMessage (messageType, content) {//发送消息
|
||||
|
Loading…
x
Reference in New Issue
Block a user