|
|
|
@ -76,9 +76,10 @@ export const constantRoutes = [ |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
path: '/indexHome', |
|
|
|
component: () => import('@/views/index'), |
|
|
|
hidden: true, |
|
|
|
path: '', |
|
|
|
component: Layout, |
|
|
|
redirect: 'index', |
|
|
|
component: () => import('@/views/Home'), |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: 'index', |
|
|
|
@ -88,20 +89,6 @@ export const constantRoutes = [ |
|
|
|
] |
|
|
|
}, |
|
|
|
|
|
|
|
// {
|
|
|
|
// path: '',
|
|
|
|
// component: Layout,
|
|
|
|
// redirect: 'index',
|
|
|
|
// children: [
|
|
|
|
// {
|
|
|
|
// path: 'index',
|
|
|
|
// component: () => import('@/views/index'),
|
|
|
|
// name: 'Index',
|
|
|
|
// meta: { title: '首页', icon: 'dashboard', affix: true }
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
path: '/lock', |
|
|
|
|