src/App.vue
@@ -3,9 +3,11 @@ </template> <script setup> import { onMounted } from 'vue'; import useSettingsStore from '@/store/modules/settings' import { handleThemeStyle } from '@/utils/theme' onMounted(() => { nextTick(() => { // 初始化主题样式