From baa3cdffb5e388cb0f90cb354ac7357bbc031826 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期三, 16 十一月 2022 09:37:31 +0800 Subject: [PATCH] 优化开启TopNav后,菜单数量少时,显示。。。而不是更多菜单(I60WJG) --- src/App.vue | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/App.vue b/src/App.vue index d91599f..fd2b3d5 100644 --- a/src/App.vue +++ b/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> -- Gitblit v1.9.3