This commit is contained in:
ygx
2026-03-28 15:44:57 +08:00
parent 1020699b8c
commit 877e3115c4
11 changed files with 497 additions and 167 deletions

View File

@@ -68,7 +68,7 @@ const useUserStore = defineStore('user', {
SafeStorage.set(AppStorageKey.USER_INFO, details)
this.userInfo = details
} else {
throw new Error('登录失败:未获取到 token')
throw new Error('登录失败')
}
} catch (err) {
clearToken()