diff --git a/src/router/index.js b/src/router/index.js index d668ac63..3959bb81 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -64,7 +64,7 @@ export const constantRoutes = [ { path: '', component: Layout, - redirect: '/canteen/index', + redirect: '/index', children: [ { path: 'index', @@ -74,20 +74,6 @@ export const constantRoutes = [ } ] }, - { - path: '/canteen', - component: Layout, - hidden: true, - redirect: 'noredirect', - children: [ - { - path: 'index', - component: () => import('@/views/index_v1'), - name: 'index', - meta: { title: '食堂数据总览', icon: 'dashboard' } - } - ] - }, { path: '/user', component: Layout,