diff --git a/pages/release/tosign.vue b/pages/release/tosign.vue index 21b2576..9068b61 100644 --- a/pages/release/tosign.vue +++ b/pages/release/tosign.vue @@ -13,7 +13,7 @@ - + {{this.titleMaxLength - this.max.length}}/20 @@ -189,6 +189,7 @@ this.token = uni.getStorageSync('token'); this.userinfo = uni.getStorageSync("userinfo") + console.log(this.userinfo) var config = { appkey: 'mgb7ka1', debug:true diff --git a/pages/release/zhibo.nvue b/pages/release/zhibo.nvue index 6adfbbb..26c9be2 100644 --- a/pages/release/zhibo.nvue +++ b/pages/release/zhibo.nvue @@ -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) } })