feat: 登录拦截功能完善

This commit is contained in:
duanshuwen
2025-09-13 22:01:50 +08:00
parent 11141ae436
commit 261fb16bd6
11 changed files with 139 additions and 119 deletions

View File

@@ -5,6 +5,7 @@ export const useAppStore = defineStore("app", {
return {
title: "",
sceneId: "",
hasToken: false,
};
},
getters: {},
@@ -16,6 +17,9 @@ export const useAppStore = defineStore("app", {
setSceneId(data) {
this.sceneId = data;
},
setHasToken(data) {
this.hasToken = data;
},
},
unistorage: true,