From 1b9fea7d4af68d8f933b2dc42bf6084b9646f64c Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 04 三月 2025 08:39:55 +0800
Subject: [PATCH] 修改作业等级名称

---
 src/App.vue |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index e2f3598..942737a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,4 +1,16 @@
 <template>
+<!--        <transition name="fade" mode="out-in">-->
+<!--            <keep-alive :exclude="excludeList">-->
+<!--                <router-view v-if="!$route.meta.iskeepAlive" :key="$route.path"></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">-->
+    <!--                <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" />
         <LockScreen v-if="themeConfig.isLockScreen" />
@@ -32,7 +44,9 @@
         const storesThemeConfig = useThemeConfig();
         const { themeConfig } = storeToRefs(storesThemeConfig);
         const state = reactive({
-            i18nLocale: null
+            i18nLocale: null,
+            excludeList: ['a-e'],
+            includeList: []
         });
 
         // 获取全局组件大小
@@ -61,9 +75,10 @@
                 proxy.mittBus.on('getI18nConfig', (locale: string) => {
                     (state.i18nLocale as string | null) = locale;
                 });
-                // 获取缓存中的布局配置
+                // 获取缓存中的布局配置;
                 if (Local.get('themeConfig')) {
-                    storesThemeConfig.setThemeConfig(Local.get('themeConfig'));
+                    storesThemeConfig.setThemeConfig(themeConfig.value);
+                    // storesThemeConfig.setThemeConfig(Local.get('themeConfig'));
                     document.documentElement.style.cssText = Local.get('themeConfigStyle');
                 }
                 // 获取缓存中的全屏配置

--
Gitblit v1.9.2