From 9888eb4278a2c74f8533b468bba958cfffb7b125 Mon Sep 17 00:00:00 2001
From: birt <2499248221@qq.com>
Date: 星期日, 13 四月 2025 22:12:11 +0800
Subject: [PATCH] 折叠

---
 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