This commit is contained in:
Gdpao
2020-09-15 16:46:40 +08:00
parent aa0d7a4a06
commit c02acd7259
2 changed files with 9 additions and 1 deletions

View File

@@ -386,6 +386,12 @@
this.stop()
this.startPreview()
this.start()
var message = {
senderNickname : this.room.currentUser.nickname ,
type : 1,
content : '重连'
}
this.chatRoomService.sendMessages(this.room.id, message);
},
onHide: function() {
console.log('App Hide');
@@ -489,6 +495,7 @@
that.chatRoomService.warrings = that.jinggao
//获取当前聊天室数据
that.room = that.chatRoomService.room;
console.log(that.room)
that.chatRoomService.initialWhenOnlineUserChange(that.renqu)
}
})