fix(setup): protect wizard step orchestration (#679)

This commit is contained in:
InfinityPacer
2026-08-16 16:32:14 +08:00
committed by GitHub
parent 4f6537400d
commit 0acb604466
6 changed files with 1364 additions and 92 deletions
+14
View File
@@ -314,8 +314,10 @@ export default defineConfig(({ command, mode, isPreview }) => ({
'src/stores/auth.ts',
'src/stores/user.ts',
'src/stores/pluginSidebarNav.ts',
'src/composables/useSetupWizard.ts',
'src/components/auth/LoginMfaStep.vue',
'src/pages/login.vue',
'src/pages/setup.vue',
'src/pages/appcenter.vue',
'src/pages/recommend.vue',
'src/pages/discover.vue',
@@ -745,6 +747,18 @@ export default defineConfig(({ command, mode, isPreview }) => ({
lines: 80,
statements: 80,
},
'src/composables/useSetupWizard.ts': {
branches: 85,
functions: 90,
lines: 90,
statements: 90,
},
'src/pages/setup.vue': {
branches: 75,
functions: 80,
lines: 80,
statements: 80,
},
'src/stores/pluginSidebarNav.ts': {
branches: 85,
functions: 90,