gaoluyang
2025-05-26 f87e4eca384ed8c000f0edbdc3584059f6c9c6e2
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>