mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-12 21:53:48 +08:00
【smart-app更新】1、意见反馈;2、我的;3、退出登录;4、等等其他
This commit is contained in:
@@ -51,6 +51,7 @@ export const useUserStore = defineStore({
|
||||
actions: {
|
||||
logout() {
|
||||
this.token = null;
|
||||
this.setUserLoginInfo(defaultUserInfo);
|
||||
uni.removeStorage(USER_TOKEN);
|
||||
},
|
||||
clearUserLoginInfo() {
|
||||
|
||||
Reference in New Issue
Block a user