关闭直播页面

This commit is contained in:
luyuan 2020-08-13 11:36:47 +08:00
parent 06092fb183
commit e4f917a9cf
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -364,7 +364,7 @@
room:{},
chatRoomService:{},
danmulist:[],
zhibo:false,
zhibo:true,
jieshu:{},
renshumax:0
},
@ -578,6 +578,12 @@
});
},
closes(){
if(!this.zhibo){
uni.switchTab({
url: '/pages/index/index'
});
return ;
}
const token = uni.getStorageSync('token');
let that = this
console.log(that.url)
@ -599,6 +605,7 @@
},
success(res){
console.log(res)
that.stop()
that.jieshu = res.data.data
that.zhibo = false
// uni.navigateBack({