|
|
@ -76,25 +76,18 @@ export const constantRoutes = [ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
path: '', |
|
|
|
|
|
component: (resolve) => require(['@/views/Home'], resolve), |
|
|
|
|
|
redirect: 'index', |
|
|
|
|
|
|
|
|
path: '/indexHome', |
|
|
|
|
|
component: () => import('@/views/index'), |
|
|
|
|
|
hidden: true, |
|
|
children: [ |
|
|
children: [ |
|
|
{ |
|
|
{ |
|
|
path: 'index', |
|
|
path: 'index', |
|
|
name: '首页', |
|
|
|
|
|
hidden: true |
|
|
|
|
|
// meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
|
|
|
|
|
|
|
|
|
name: 'Index', |
|
|
|
|
|
meta: { title: '首页', icon: 'dashboard', affix: true } |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
path: 'index', |
|
|
|
|
|
component: () => import('@/views/index'), |
|
|
|
|
|
hidden: true |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// {
|
|
|
// {
|
|
|
// path: '',
|
|
|
// path: '',
|
|
|
// component: Layout,
|
|
|
// component: Layout,
|
|
|
|