提交 | 用户 | age
|
2f6253
|
1 |
import type { AppRouteModule } from '/@/router/types'; |
陈 |
2 |
|
|
3 |
import { PAGE_LAYOUT_COMPONENT } from '/@/router/constant'; |
|
4 |
|
fc4666
|
5 |
const dashboard: AppRouteModule = { |
2f6253
|
6 |
layout: { |
陈 |
7 |
path: '/dashboard', |
|
8 |
name: 'Dashboard', |
|
9 |
component: PAGE_LAYOUT_COMPONENT, |
498278
|
10 |
redirect: '/dashboard/welcome', |
2f6253
|
11 |
meta: { |
陈 |
12 |
icon: 'ant-design:home-outlined', |
190112
|
13 |
title: 'routes.dashboard.dashboard', |
2f6253
|
14 |
}, |
陈 |
15 |
}, |
|
16 |
|
|
17 |
routes: [ |
|
18 |
{ |
|
19 |
path: '/welcome', |
|
20 |
name: 'Welcome', |
|
21 |
component: () => import('/@/views/dashboard/welcome/index.vue'), |
|
22 |
meta: { |
190112
|
23 |
title: 'routes.dashboard.welcome', |
498278
|
24 |
affix: true, |
V |
25 |
icon: 'ant-design:home-outlined', |
1cd75f
|
26 |
}, |
V |
27 |
}, |
|
28 |
{ |
|
29 |
path: '/workbench', |
|
30 |
name: 'Workbench', |
|
31 |
component: () => import('/@/views/dashboard/workbench/index.vue'), |
|
32 |
meta: { |
190112
|
33 |
title: 'routes.dashboard.workbench', |
2f6253
|
34 |
}, |
陈 |
35 |
}, |
52ee35
|
36 |
{ |
V |
37 |
path: '/analysis', |
|
38 |
name: 'Analysis', |
|
39 |
component: () => import('/@/views/dashboard/analysis/index.vue'), |
|
40 |
meta: { |
190112
|
41 |
title: 'routes.dashboard.analysis', |
52ee35
|
42 |
}, |
V |
43 |
}, |
2f6253
|
44 |
], |
fc4666
|
45 |
}; |
V |
46 |
|
|
47 |
export default dashboard; |