fix(token): 统一导出token store和修复token获取以及添加逻辑

This commit is contained in:
zygalaxy
2025-09-05 18:32:22 +08:00
parent 1b9c8dc911
commit 65e578ca58
3 changed files with 7 additions and 4 deletions

View File

@@ -266,6 +266,7 @@ export const useTokenStore = defineStore(
// 内部系统使用的方法
refreshToken,
tryGetValidToken,
validToken: getValidToken,
// 调试或特殊场景可能需要直接访问的信息
tokenInfo,