From b06ba42e7fad0ad58ea7d9024722721faab6d2f5 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Thu, 08 Sep 2022 17:11:02 +0800
Subject: [PATCH] 文件
---
src/App.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 3b67207..9227320 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -7,12 +7,11 @@
<!-- <router-view v-if="!$route.meta.iskeepAlive" v-slot="{ Component }">-->
<!-- <transition name="fade" mode="in-out">-->
<!-- <keep-alive :exclude="excludeList" :include="includeList">-->
- <!-- <component :is="Component" :key="$route.id"></component>-->
+ <!-- <components :is="Component" :key="$route.id"></components>-->
<!-- </keep-alive>-->
<!-- </transition>-->
<!-- </router-view>-->
<el-config-provider :size="getGlobalComponentSize" :locale="i18nLocale">
- <router-view v-show="themeConfig.lockScreenTime > 1" />
<router-view v-show="themeConfig.lockScreenTime > 1" />
<LockScreen v-if="themeConfig.isLockScreen" />
<Setings ref="setingsRef" v-show="themeConfig.lockScreenTime > 1" />
@@ -76,11 +75,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