Commit fd7e17f5f74ff2850e1e614b822c95d08ee290ba

Authored by 杨泽宇
1 parent 1d687018

debug empty router

Showing 1 changed file with 0 additions and 19 deletions
src/router/index.ts
... ... @@ -10,24 +10,6 @@ import Layout from '@/layout/enter.vue'
10 10 const routes: Array<any> = [
11 11 { path: '/', redirect: { path: '/dashboard' } },
12 12 {
13   - path: '/home',
14   - name: 'Home',
15   - component: () => import(/* webpackChunkName: "Home" */ '@/views/tengxi/index.vue')
16   - // component: () => import(/* webpackChunkName: "Home" */ '@/layout/enter.vue')
17   - },
18   - {
19   - path: '/',
20   - component: Layout,
21   - name: 'About',
22   - children: [{
23   - path: 'About',
24   - name: 'About',
25   - component: () => import(/* webpackChunkName: "About" */ '@/views/tengxi/about.vue'),
26   - meta: { title: '关于测试页' }
27   - }]
28   - // component: () => import(/* webpackChunkName: "About" */ '@/views/tengxi/about.vue')
29   - },
30   - {
31 13 path: '/',
32 14 component: Layout,
33 15 name: 'Dashboard',
... ... @@ -37,7 +19,6 @@ const routes: Array&lt;any&gt; = [
37 19 component: () => import(/* webpackChunkName: "About" */ '@/views/dashboard/index.vue'),
38 20 meta: { title: '欢迎访问' }
39 21 }]
40   - // component: () => import(/* webpackChunkName: "About" */ '@/views/tengxi/about.vue')
41 22 },
42 23 System,
43 24 Permission,
... ...