1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| /**
| * 基础路由
| * @type { *[] }
| */
|
| const constantRouterMap = [
| {
| path: '/',
| component: () => import('@/layouts/AppSider.vue'),
| redirect: { name: 'Communication' },
| children: [
| {
| path: '/communication',
| name: 'Communication',
| title: '通讯设置',
| component: () => import('@/views/communication/index.vue')
| },
| {
| path: '/card',
| name: 'Card',
| title: '卡片设置',
| component: () => import('@/views/card/index.vue')
| },
| {
| path: '/advanced',
| name: 'Advanced',
| title: '高级设置',
| component: () => import('@/views/advanced/index.vue')
| },
| ]
| },
| ]
|
| export default constantRouterMap
|
|