去除首页菜单

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'), component: () => import('@/views/error/401'),
hidden: true hidden: true
}, },
{ // {
path: '', // path: '',
component: Layout, // component: Layout,
redirect: '/index', // redirect: '/index',
children: [ // children: [
{ // {
path: '/index', // path: '/index',
component: () => import('@/views/index'), // component: () => import('@/views/index'),
name: 'Index', // name: 'Index',
meta: {title: '首页', icon: 'dashboard', affix: true} // meta: {title: '首页', icon: 'dashboard', affix: true}
} // }
] // ]
}, // },
{ {
path: '/user', path: '/user',
component: Layout, component: Layout,