mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-05-03 06:21:31 +08:00
vue3.x-ruoyi前端
This commit is contained in:
15
Yi.Vue3.X.RuoYi/src/App.vue
Normal file
15
Yi.Vue3.X.RuoYi/src/App.vue
Normal file
@@ -0,0 +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>
|
||||
Reference in New Issue
Block a user