gaoluyang
2025-05-20 855120d68c3e2c2935de3891d0650865a4936c0d
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>