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
| const Layout = () => import('@/layout/index.vue');
|
| const generalRouter = {
| path: '/general',
| component: Layout,
| redirect: 'noRedirect',
| name: 'General',
| meta: {
| title: '通用管理',
| icon: 'general-hdw',
| },
| children: [
| {
| path: 'authorize',
| component: () => import('@/views/general/authorize/index.vue'),
| name: 'AuthManage',
| meta: { title: '授权管理', icon: 'auth-hdw', noCache: false }
| },
| {
| path: 'log',
| component: () => import('@/views/general/log/index.vue'),
| name: 'LogManage',
| meta: { title: '锁具日志', icon: 'log-hdw', noCache: false }
| },
| // {
| // path: 'map',
| // component: () => import('@/views/general/map/index.vue'),
| // name: 'MapManage',
| // meta: { title: '地图定位', icon: 'map-hdw', noCache: false, }
| // }
| ]
| };
|
| export default generalRouter;
|
|