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
38
39
40
41
| import { DEFAULT_LAYOUT } from '../base';
| import { AppRouteRecordRaw } from '../types';
|
| const agent: AppRouteRecordRaw = {
| path: '/agent',
| name: 'agent',
| component: DEFAULT_LAYOUT,
| meta: {
| locale: 'Agent',
| requiresAuth: true,
| icon: 'icon-robot',
| order: 3.5,
| hideInMenu: false,
| },
| children: [
| {
| path: '/agent',
| name: 'agent',
| component: () => import('@/views/agent/resource/index.vue'),
| meta: {
| requiresAuth: true,
| hideInMenu: true,
| roles: ['*'],
| },
| },
| ],
| // children:[
| // {
| // path: '/model',
| // name: 'model',
| // component: () => import('@/views/dmx/model/index.vue'),
| // meta: {
| // requiresAuth: true,
| // hideInMenu:true,
| // roles: ['*'],
| // },
| // },
| // ]
| };
|
| export default agent;
|
|