去除首页菜单

This commit is contained in:
djhk 2025-10-15 17:49:29 +08:00
parent dc90e752ff
commit ffc1b3910d

View File

@ -62,19 +62,20 @@ export const constantRoutes = [
component: () => import('@/views/error/401'),
hidden: true
},
{
path: '',
component: Layout,
redirect: '/index',
children: [
{
path: '/index',
component: () => import('@/views/index'),
name: 'Index',
meta: {title: '首页', icon: 'dashboard', affix: true}
}
]
},
// {
// path: '',
// component: Layout,
// redirect: '/index',
// children: [
// {
// path: '/index',
// component: () => import('@/views/index'),
// name: 'Index',
// meta: {title: '首页', icon: 'dashboard', affix: true}
// }
// ]
// },
{
path: '/user',
component: Layout,