更新扫描二维码进入选择身份

This commit is contained in:
zoujiandong
2023-11-17 15:01:05 +08:00
parent aabe8da621
commit 7c0f376058
2 changed files with 13 additions and 8 deletions
+1 -7
View File
@@ -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){