This commit is contained in:
luyuan 2020-08-15 13:36:16 +08:00
parent dc03b9f410
commit 7d13fc8e85
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -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) {//发送消息