feat: base userinfo退出按钮
This commit is contained in:
parent
84af330ea8
commit
ff8833bda2
|
@ -58,7 +58,7 @@
|
|||
this.userInfo = userInfo;
|
||||
},
|
||||
logout() {
|
||||
// #ifdef APP-PLUS
|
||||
// #ifdef APP-PLUS || H5
|
||||
try{uni.removeStorageSync("mySecret")}catch(e){};
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
|
@ -66,7 +66,7 @@
|
|||
// #endif
|
||||
uni.removeStorageSync("access")
|
||||
uni.reLaunch({
|
||||
url: "/pages/auth/login"
|
||||
url: "/pages/auth/login?autoLoading=no"
|
||||
})
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue