From 9a8d3a3e3e153ad4f1971b5da67b963b6841731a Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期二, 02 九月 2025 13:29:06 +0800 Subject: [PATCH] 打包配置 --- src/App.vue | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/App.vue b/src/App.vue index d91599f..fd2b3d5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,3 +1,15 @@ <template> <router-view /> </template> + +<script setup> +import useSettingsStore from '@/store/modules/settings' +import { handleThemeStyle } from '@/utils/theme' + +onMounted(() => { + nextTick(() => { + // 鍒濆鍖栦富棰樻牱寮� + handleThemeStyle(useSettingsStore().theme) + }) +}) +</script> -- Gitblit v1.9.3