From 55ff4ad6155248a7c2f391fd4fe75682a311dac0 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期四, 24 七月 2025 16:54:26 +0800
Subject: [PATCH] refactor(svg): 优化 SVG相关组件功能

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

diff --git a/zhitan-vue/src/router/index.js b/zhitan-vue/src/router/index.js
index 154b3be..c214608 100644
--- a/zhitan-vue/src/router/index.js
+++ b/zhitan-vue/src/router/index.js
@@ -44,6 +44,11 @@
     hidden: true
   },
   {
+    path: '/social-callback',
+    component: () => import('@/layout/components/SocialCallback/index'),
+    hidden: true
+  },
+  {
     path: '/register',
     component: () => import('@/views/register'),
     hidden: true
@@ -67,13 +72,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