diff --git a/src/store/modules/auth/index.ts b/src/store/modules/auth/index.ts index 8fcdebed8..bd172bf84 100644 --- a/src/store/modules/auth/index.ts +++ b/src/store/modules/auth/index.ts @@ -44,6 +44,7 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => { clearAuthStorage(); authStore.$reset(); + token.value = ''; if (!route.meta.constant) { await toLogin();