This commit is contained in:
zk
2023-12-19 18:10:46 +08:00
parent 3e53c75a6f
commit 8dccce0208
16 changed files with 128 additions and 35 deletions
+2 -1
View File
@@ -93,7 +93,8 @@ export const useUserStore = defineStore({
this.setToken('');
this.setUserInfo(null);
this.setLoginInfo(null);
goLogin && (await router.push({ path: PageEnum.BASE_LOGIN }));
console.log('goLogin', goLogin);
goLogin && router.replace({ path: PageEnum.BASE_LOGIN });
},
},
});