RuoYi
2024-09-11 1c2da6dfb1e23fa38c58ada5d7e98f91ae2d738e
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>