diff --git a/src/router/index.js b/src/router/index.js index 6130ee5..e229212 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -62,19 +62,20 @@ export const constantRoutes = [ component: () => import('@/views/error/401'), hidden: true }, - { - path: '', - component: Layout, - redirect: '/index', - children: [ - { - path: '/index', - component: () => import('@/views/index'), - name: 'Index', - meta: {title: '首页', icon: 'dashboard', affix: true} - } - ] - }, + // { + // path: '', + // component: Layout, + // redirect: '/index', + // children: [ + // { + // path: '/index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: {title: '首页', icon: 'dashboard', affix: true} + // } + // ] + // }, + { path: '/user', component: Layout,