spring
8 天以前 f7165c61dd8a808132c09096f5a367565387f3e4
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)