fix(auth): reset account state on logout (#662)

This commit is contained in:
InfinityPacer
2026-08-11 06:25:18 +08:00
committed by GitHub
parent e14b39c574
commit bf0e57a92f
6 changed files with 283 additions and 7 deletions
+11 -4
View File
@@ -312,6 +312,7 @@ export default defineConfig(({ command, mode, isPreview }) => ({
'src/utils/federationLoader.ts',
'src/utils/federationRuntime.ts',
'src/stores/auth.ts',
'src/stores/user.ts',
'src/stores/pluginSidebarNav.ts',
'src/pages/appcenter.vue',
'src/pages/recommend.vue',
@@ -628,10 +629,16 @@ export default defineConfig(({ command, mode, isPreview }) => ({
statements: 80,
},
'src/stores/auth.ts': {
branches: 75,
functions: 80,
lines: 80,
statements: 80,
branches: 85,
functions: 90,
lines: 90,
statements: 90,
},
'src/stores/user.ts': {
branches: 85,
functions: 90,
lines: 90,
statements: 90,
},
'src/stores/pluginSidebarNav.ts': {
branches: 85,