buhuazhen
2025-08-26 02dab18683eab22bf7a37c404a17d9174820f29c
src/App.vue
@@ -4,9 +4,11 @@
<script setup>
import useSettingsStore from '@/store/modules/settings'
import dictStore from '@/store/modules/dict'
import { handleThemeStyle } from '@/utils/theme'
onMounted(() => {
  dictStore().initDict()
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme)