xbx #50

Merged
theluyuan merged 2 commits from xbx into master 2020-08-14 01:41:27 +00:00
2 changed files with 11 additions and 2 deletions

View File

@ -142,6 +142,7 @@
}
this.$u.route({
url:"/pages/release/zhibo",
type:"redirectTo",
params:{
url:res.data.url.replace("&","*"),
id:res.data.chat_id,

View File

@ -419,10 +419,18 @@
},500)
},
onBackPress(options) {
if (options.from === 'navigateBack' || !this.zhibo) {
return false;
}
this.closes();
return true;
},
onLoad(a){
console.log(getApp().globalData.im)
uni.setKeepScreenOn({
keepScreenOn: true
});
this.url = a.url.replace("*","&")
let that = this
const token = uni.getStorageSync('token');