diff --git a/src/views/system/Setup.vue b/src/views/system/Setup.vue index fb4281b7..5e87ef46 100644 --- a/src/views/system/Setup.vue +++ b/src/views/system/Setup.vue @@ -18,6 +18,7 @@ import type { SinglePageRequest, Tag, } from "@halo-dev/api-client"; +import { useThemeStore } from "@/stores/theme"; const router = useRouter(); @@ -98,6 +99,8 @@ const handleSubmit = async () => { const systemStateStore = useSystemStatesStore(); await systemStateStore.fetchSystemStates(); + const themeStore = useThemeStore(); + await themeStore.fetchActivatedTheme(); router.push({ name: "Dashboard" });