gaoluyang
2025-05-13 9476c25c25a6a5b483bb4e9a4f4ce7f757ec5403
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<template>
  <router-view />
</template>
 
<script setup>
import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'
 
onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme)
  })
})
</script>