登录过期不跳转问题

This commit is contained in:
jianzhichu
2025-12-05 08:30:51 +08:00
parent c03dc5beff
commit a36c815861
12 changed files with 44 additions and 66 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export const useAccountStore = defineStore('account', {
if (response.code === 200 && response.data.code === 0) {
this.logged = true;
this.logged2 = true
console.log(response)
// console.log(response)
http.setAuthorization(`Bearer ${response.data.token}`, response.data.expires);
// await useMenuStore().getMenuList();
return response.data;