From ee84672f93c1d32a42cbfeb690412aa5cf68fa07 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期四, 04 八月 2022 10:33:24 +0800 Subject: [PATCH] 更新 --- src/App.vue | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/App.vue b/src/App.vue index e2f3598..c7c8d13 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,18 @@ <template> + <!-- <transition name="fade" mode="out-in">--> + <!-- <keep-alive :exclude="excludeList">--> + <!-- <router-view v-if="!$route.meta.iskeepAlive" :key="$route.id"></router-view>--> + <!-- </keep-alive>--> + <!-- </transition>--> + <!-- <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>--> + <!-- </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" /> @@ -32,7 +45,9 @@ const storesThemeConfig = useThemeConfig(); const { themeConfig } = storeToRefs(storesThemeConfig); const state = reactive({ - i18nLocale: null + i18nLocale: null, + excludeList: ['a-e'], + includeList: [] }); // 获取全局组件大小 -- Gitblit v1.9.2