From c02acd7259ebf2e7e5db4e241b3166369ed4ad71 Mon Sep 17 00:00:00 2001 From: Gdpao <1341331954@qq.com> Date: Tue, 15 Sep 2020 16:46:40 +0800 Subject: [PATCH] gdpao --- pages/release/tosign.vue | 3 ++- pages/release/zhibo.nvue | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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) } })