|
|
@ -57,20 +57,20 @@ export const constantRoutes = [ |
|
|
|
component: (resolve) => require(['@/views/error/401'], resolve), |
|
|
|
hidden: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/', |
|
|
|
component: Layout, |
|
|
|
redirect: 'index', |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/', |
|
|
|
component: (resolve) => require(['@/views/index_v1'], resolve), |
|
|
|
hidden: true, |
|
|
|
name: '首页', |
|
|
|
meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// path: '/',
|
|
|
|
// component: Layout,
|
|
|
|
// redirect: 'index',
|
|
|
|
// children: [
|
|
|
|
// {
|
|
|
|
// path: '/',
|
|
|
|
// component: (resolve) => require(['@/views/index_v1'], resolve),
|
|
|
|
// hidden: true,
|
|
|
|
// name: '首页',
|
|
|
|
// meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
path: '/user', |
|
|
|
component: Layout, |
|
|
|