Commit fae24a0c authored by 罗超's avatar 罗超

优化登录

parent ac582dd7
......@@ -488,6 +488,9 @@
uni.removeStorageSync('b2b_user')
uni.removeStorageSync('mall_UserInfo')
}
}else{
uni.removeStorageSync('b2b_user')
uni.removeStorageSync('mall_UserInfo')
}
},
// #ifdef MP-WEIXIN
......
......@@ -94,6 +94,7 @@ function SubscribeMsgAli(cb) {
//定义更新方法
function VersionUpdate() {
// 判断应用的 getUpdateManager 是否在当前版本可用
console.log('canIUse',uni.canIUse('getUpdateManager'))
if (uni.canIUse('getUpdateManager')) {
const updateManager = uni.getUpdateManager()
// 向小程序后台请求完新版本信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment