feat: base userinfo退出按钮

This commit is contained in:
caoqianming 2025-10-16 09:36:00 +08:00
parent 84af330ea8
commit ff8833bda2
1 changed files with 2 additions and 2 deletions

View File

@ -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"
})
},