feta
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user