From 8b7c2fe49917d670eb2a03cecda23ea50961c494 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期二, 09 八月 2022 09:26:29 +0800 Subject: [PATCH] lct --- src/App.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3b67207..c738754 100644 --- a/src/App.vue +++ b/src/App.vue @@ -76,11 +76,12 @@ proxy.mittBus.on('getI18nConfig', (locale: string) => { (state.i18nLocale as string | null) = locale; }); - // 获取缓存中的布局配置 - // if (Local.get('themeConfig')) { - // storesThemeConfig.setThemeConfig(Local.get('themeConfig')); - // document.documentElement.style.cssText = Local.get('themeConfigStyle'); - // } + // 获取缓存中的布局配置; + if (Local.get('themeConfig')) { + storesThemeConfig.setThemeConfig(themeConfig.value); + // storesThemeConfig.setThemeConfig(Local.get('themeConfig')); + document.documentElement.style.cssText = Local.get('themeConfigStyle'); + } // 获取缓存中的全屏配置 if (Session.get('isTagsViewCurrenFull')) { stores.setCurrenFullscreen(Session.get('isTagsViewCurrenFull')); -- Gitblit v1.9.2