更新扫描二维码进入选择身份
This commit is contained in:
@@ -24,13 +24,7 @@ Page({
|
||||
checked: false,
|
||||
static_host: api.getStaticHost()
|
||||
},
|
||||
onHide: function() {
|
||||
let isLogin=this.data.isLogin;
|
||||
if(!isLogin){
|
||||
wx.setStorageSync('usertype','');
|
||||
}
|
||||
// 页面从前台变为后台时执行
|
||||
},
|
||||
|
||||
onUnload: function() {
|
||||
let isLogin=this.data.isLogin;
|
||||
if(!isLogin){
|
||||
|
||||
Reference in New Issue
Block a user