去除首页菜单
This commit is contained in:
parent
dc90e752ff
commit
ffc1b3910d
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user