From 5fc9aa7c2fad76ee286a5ada8e89921d74ae0410 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 28 Apr 2025 18:28:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=BB=E9=A1=B5=E9=87=8D=E5=AE=9A?= =?UTF-8?q?=E5=90=91=E4=BB=AA=E8=A1=A8=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index b16ea27c..391faab9 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -29,13 +29,14 @@ const constantRoutes: RouteRecordRaw[] = [ path: '/', name: 'Root', component: BasicLayout, - redirect: '/index', + redirect: '/monitor/dashboard', children: [ { path: '/index', name: 'Index', - meta: { title: 'router.index', icon: 'icon-pcduan' }, - component: () => import('@/views/index.vue'), + meta: { title: 'router.index', icon: 'icon-pcduan', hideInMenu: true }, + redirect: '/monitor/dashboard', + // component: () => import('@/views/index.vue'), }, { path: '/account',