1
0

feat: add logout for navbar

This commit is contained in:
2026-05-15 09:39:15 +08:00
parent 2a280dcba0
commit e484ded5be
3 changed files with 73 additions and 38 deletions

View File

@@ -11,6 +11,7 @@ export const useTokenStore = defineStore('token', {
getters: {
isLoggedIn: (state) => typeof state.token === 'string',
currentToken: (state) => state.token as string,
},
actions: {