mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-27 14:20:29 +08:00
finish SecureSetting
This commit is contained in:
@@ -143,9 +143,7 @@ export const useUserStore = defineStore({
|
||||
if (this.getToken) {
|
||||
try {
|
||||
await doLogout()
|
||||
} catch {
|
||||
console.log('注销Token失败')
|
||||
}
|
||||
} catch {}
|
||||
}
|
||||
this.setToken(undefined)
|
||||
this.setSessionTimeout(false)
|
||||
|
||||
Reference in New Issue
Block a user