路由修改

This commit is contained in:
zzyuan 2025-06-06 10:58:04 +08:00
parent c195592f48
commit 2a66ac9271
1 changed files with 1 additions and 15 deletions

View File

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