From fdd689daf5cf4c2083e6160d932d70e91bad46e1 Mon Sep 17 00:00:00 2001
From: BirtYu <714851131@qq.com>
Date: 星期日, 13 四月 2025 22:51:38 +0800
Subject: [PATCH] Merge pull request #59 from zhitan-cloud/jiayu1.0

---
 zhitan-vue/src/router/index.js |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/zhitan-vue/src/router/index.js b/zhitan-vue/src/router/index.js
index 154b3be..42dcb70 100644
--- a/zhitan-vue/src/router/index.js
+++ b/zhitan-vue/src/router/index.js
@@ -67,13 +67,7 @@
         path: '/index',
         component: () => import('@/views/index'),
         name: 'Index',
-        meta: { title: '棣栭〉', icon: 'dashboard', affix: true, showSidebar: true, breadcrumb: false },
-        beforeEnter: (to, from, next) => {
-          // 鑾峰彇app store骞惰缃晶杈规爮涓烘姌鍙犵姸鎬�
-          const appStore = useAppStore()
-          appStore.showCollapsedSidebar()
-          next()
-        }
+        meta: { title: '棣栭〉', icon: 'dashboard', affix: true, showSidebar: true, breadcrumb: false }
       }
     ]
   },

--
Gitblit v1.9.3