关闭直播页面
This commit is contained in:
parent
06092fb183
commit
e4f917a9cf
@ -364,7 +364,7 @@
|
|||||||
room:{},
|
room:{},
|
||||||
chatRoomService:{},
|
chatRoomService:{},
|
||||||
danmulist:[],
|
danmulist:[],
|
||||||
zhibo:false,
|
zhibo:true,
|
||||||
jieshu:{},
|
jieshu:{},
|
||||||
renshumax:0
|
renshumax:0
|
||||||
},
|
},
|
||||||
@ -578,6 +578,12 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
closes(){
|
closes(){
|
||||||
|
if(!this.zhibo){
|
||||||
|
uni.switchTab({
|
||||||
|
url: '/pages/index/index'
|
||||||
|
});
|
||||||
|
return ;
|
||||||
|
}
|
||||||
const token = uni.getStorageSync('token');
|
const token = uni.getStorageSync('token');
|
||||||
let that = this
|
let that = this
|
||||||
console.log(that.url)
|
console.log(that.url)
|
||||||
@ -599,6 +605,7 @@
|
|||||||
},
|
},
|
||||||
success(res){
|
success(res){
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
that.stop()
|
||||||
that.jieshu = res.data.data
|
that.jieshu = res.data.data
|
||||||
that.zhibo = false
|
that.zhibo = false
|
||||||
// uni.navigateBack({
|
// uni.navigateBack({
|
||||||
|
Loading…
Reference in New Issue
Block a user