1
0
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:
源文雨
2023-03-18 17:14:13 +08:00
parent a409325770
commit 78418429c1
8 changed files with 186 additions and 29 deletions

View File

@@ -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)