From 2a66ac92714420f36cb677ee0388525438382fc6 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Fri, 6 Jun 2025 10:58:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index d668ac63..3959bb81 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -64,7 +64,7 @@ export const constantRoutes = [ { path: '', component: Layout, - redirect: '/canteen/index', + redirect: '/index', children: [ { path: 'index', @@ -74,20 +74,6 @@ export const constantRoutes = [ } ] }, - { - path: '/canteen', - component: Layout, - hidden: true, - redirect: 'noredirect', - children: [ - { - path: 'index', - component: () => import('@/views/index_v1'), - name: 'index', - meta: { title: '食堂数据总览', icon: 'dashboard' } - } - ] - }, { path: '/user', component: Layout,