diff --git a/chenhai-ui/src/router/index.js b/chenhai-ui/src/router/index.js index aa1ac76..e92364a 100644 --- a/chenhai-ui/src/router/index.js +++ b/chenhai-ui/src/router/index.js @@ -76,18 +76,24 @@ export const constantRoutes = [ }, { - path: '', - component: Layout, - redirect: 'index', - children: [ - { - path: 'index', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } - } - ] + path: 'index', + component: () => import('@/views/index'), + hidden: true }, + + // { + // path: '', + // component: Layout, + // redirect: 'index', + // children: [ + // { + // path: 'index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '首页', icon: 'dashboard', affix: true } + // } + // ] + // }, { path: '/lock', component: () => import('@/views/lock'),