From 1b45f0a1cd3461c827e4018026d2cfd05c1b62bd Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期四, 14 九月 2023 16:54:43 +0800
Subject: [PATCH] 修复自定义字典样式不生效的问题(I81F03)

---
 src/layout/components/Settings/index.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index ff1fa50..3bf28fe 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -87,6 +87,7 @@
 import useAppStore from '@/store/modules/app'
 import useSettingsStore from '@/store/modules/settings'
 import usePermissionStore from '@/store/modules/permission'
+import { handleThemeStyle } from '@/utils/theme'
 
 const { proxy } = getCurrentInstance();
 const appStore = useAppStore()
@@ -143,6 +144,7 @@
 function themeChange(val) {
   settingsStore.changeSetting({ key: 'theme', value: val })
   theme.value = val;
+  handleThemeStyle(val);
 }
 function handleTheme(val) {
   settingsStore.changeSetting({ key: 'sideTheme', value: val })

--
Gitblit v1.9.3