From 89941c44fbd420014e239be9e3b17c7e15610295 Mon Sep 17 00:00:00 2001 From: xingyuv Date: Wed, 29 Mar 2023 17:18:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=8D=E7=BD=AE=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=AF=BC=E8=87=B4=E5=B7=A6=E4=BE=A7?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=A0=8F=E6=95=B4=E4=BD=93=E5=8F=98=E6=88=90?= =?UTF-8?q?=E7=99=BD=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/default/setting/components/SettingFooter.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layouts/default/setting/components/SettingFooter.vue b/src/layouts/default/setting/components/SettingFooter.vue index 695a9d00..13422603 100644 --- a/src/layouts/default/setting/components/SettingFooter.vue +++ b/src/layouts/default/setting/components/SettingFooter.vue @@ -35,6 +35,7 @@ import { updateColorWeak } from '@/logics/theme/updateColorWeak' import { updateGrayMode } from '@/logics/theme/updateGrayMode' import defaultSetting from '@/settings/projectSetting' import { changeTheme } from '@/logics/theme' +import { updateSidebarBgColor } from '@/logics/theme/updateBackground' const permissionStore = usePermissionStore() const { prefixCls } = useDesign('setting-footer') @@ -57,6 +58,7 @@ function handleResetSetting() { appStore.setProjectConfig(defaultSetting) const { colorWeak, grayMode, themeColor } = defaultSetting changeTheme(themeColor) + updateSidebarBgColor() updateColorWeak(colorWeak) updateGrayMode(grayMode) createMessage.success(t('layout.setting.resetSuccess'))