commit | author | age
|
41b36f
|
1 |
import baseLayout from '../components/layouts/baseLayout.vue' |
I |
2 |
|
019990
|
3 |
import articleList from '../components/group/articleListScorll.vue' |
41b36f
|
4 |
|
I |
5 |
import main1 from '../components/swichLabel/main1-show.vue' |
|
6 |
import main2 from '../components/swichLabel/main2-show.vue' |
|
7 |
import main3 from '../components/swichLabel/main3-show.vue' |
06ee76
|
8 |
import main4 from '../components/swichLabel/main4-show.vue' |
41b36f
|
9 |
|
I |
10 |
import box1 from '../components/mini/box1-info.vue' |
|
11 |
import tagTime from '../components/mini/tagTime.vue' |
|
12 |
import tagInfo from '../components/mini/tagInfo.vue' |
|
13 |
import mdDetail from '../components/mini/mdDetail.vue' |
d3f921
|
14 |
|
I |
15 |
|
|
16 |
export const asyncRouterMap = [{ |
ad2b70
|
17 |
path: '*', |
L |
18 |
// redirect: '/404', |
|
19 |
component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404'), |
|
20 |
hidden: true |
d3f921
|
21 |
}, |
I |
22 |
{ |
ad2b70
|
23 |
path: '/', |
41b36f
|
24 |
component: baseLayout, |
ad2b70
|
25 |
children: [{ |
L |
26 |
path: '/', |
|
27 |
component: main1, |
|
28 |
children: [{ |
|
29 |
path: '/', |
41b36f
|
30 |
component: articleList, |
aab811
|
31 |
props:true |
ad2b70
|
32 |
}, |
L |
33 |
{ |
|
34 |
path: '/box1', |
|
35 |
component: box1, |
56a4b8
|
36 |
}, |
I |
37 |
{ |
|
38 |
path: '/tagTime', |
|
39 |
component: tagTime, |
41b36f
|
40 |
props:true |
56a4b8
|
41 |
}, |
I |
42 |
{ |
|
43 |
path: '/tagInfo', |
|
44 |
component: tagInfo, |
|
45 |
}, |
|
46 |
{ |
|
47 |
path: '/mdDetail', |
|
48 |
component: mdDetail, |
ad2b70
|
49 |
} |
L |
50 |
] |
|
51 |
}, |
|
52 |
{ |
|
53 |
path: '/main1', |
|
54 |
component: main1, |
|
55 |
children: [{ |
|
56 |
path: '/', |
41b36f
|
57 |
component: articleList, |
ad2b70
|
58 |
}] |
L |
59 |
}, |
56a4b8
|
60 |
|
ad2b70
|
61 |
{ |
L |
62 |
path: '/main2', |
|
63 |
component: main2, |
|
64 |
}, |
56a4b8
|
65 |
{ |
I |
66 |
path: '/main3', |
|
67 |
component: main3, |
|
68 |
}, |
06ee76
|
69 |
{ |
L |
70 |
path: '/main4', |
|
71 |
component: main4, |
|
72 |
}, |
56a4b8
|
73 |
|
d3f921
|
74 |
|
I |
75 |
] |
|
76 |
}, |
ad2b70
|
77 |
|
L |
78 |
|
d3f921
|
79 |
] |
ad2b70
|
80 |
|
d3f921
|
81 |
|
I |
82 |
/** |
|
83 |
* 基础路由 |
|
84 |
* @type { *[] } |
|
85 |
*/ |
ad2b70
|
86 |
export const constantRouterMap = [{ |
d3f921
|
87 |
path: '/404', |
I |
88 |
component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404') |
|
89 |
} |
|
90 |
|
|
91 |
] |