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
35
36
37
| import MainLayout from '@/layout/main/MainLayout.vue';
|
| const router = {
| path: '/sensors',
| component: MainLayout,
| name: '/sensors',
| redirect: '/sensors/basic',
| meta: {
| title: '传感器管理',
| icon: 'table',
| routerGuard: true,
| i18n:`传感器管理`
| },
| children: [{
| path: 'basic',
| name: '/sensors/basic',
| component: () => import(/* webpackChunkName: "list" */ '@/views/list/sensorsBasic.vue'),
| meta: {
| title: '基本信息',
| routerGuard: true,
| i18n:`menu.list.basic`
| },
| },
| {
| path: 'changeunit',
| name: '/sensors/changeunit',
| component: () => import(/* webpackChunkName: "list" */ '@/views/list/sensorChangeUnit.vue'),
| meta: {
| title: '单位转换',
| routerGuard: true,
| i18n:`menu.list.changeunit`
| },
| }
| ],
| };
|
| export default router;
|
|