diff --git a/src/router/index.js b/src/router/index.js index 84e46eb..d850ab5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -64,15 +64,7 @@ export const constantRoutes = [ { path: '', component: Layout, - redirect: '/sloworder/index', - children: [ - { - path: 'index', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } - } - ] + redirect: '/sloworder/index' }, { path: '/user', diff --git a/src/views/index.vue b/src/views/index.vue deleted file mode 100644 index f8bd2fc..0000000 --- a/src/views/index.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - - -