diff --git a/pages/release/zhibo.nvue b/pages/release/zhibo.nvue index 000ca38..6c37614 100644 --- a/pages/release/zhibo.nvue +++ b/pages/release/zhibo.nvue @@ -397,7 +397,7 @@ }, onHide: function() { console.log('App Hide'); - that.chatRoomService.warrings = ()=>{}; + this.chatRoomService.warrings = ()=>{}; }, //模拟onshow生命周期 created() { @@ -668,6 +668,8 @@ }); return ; } + this.chatRoomService.warrings = ()=>{}; + const token = uni.getStorageSync('token'); let that = this console.log(that.url)