|
|
|
|
14
|
* redirect: noredirect if `redirect:noredirect` will no redirct in the breadcrumb
|
14
|
* redirect: noredirect if `redirect:noredirect` will no redirct in the breadcrumb
|
15
|
* name:'router-name' the name is used by <keep-alive> (must set!!!)
|
15
|
* name:'router-name' the name is used by <keep-alive> (must set!!!)
|
16
|
* meta : {
|
16
|
* meta : {
|
17
|
- role: ['admin','editor'] will control the page role (you can set multiple roles)
|
|
|
18
|
title: 'title' the name show in submenu and breadcrumb (recommend set)
|
17
|
title: 'title' the name show in submenu and breadcrumb (recommend set)
|
19
|
icon: 'svg-name' the icon show in the sidebar,
|
18
|
icon: 'svg-name' the icon show in the sidebar,
|
20
|
}
|
19
|
}
|
|
|
|
|
59
|
path: 'index',
|
58
|
path: 'index',
|
60
|
name: 'Table',
|
59
|
name: 'Table',
|
61
|
component: _import('table/index'),
|
60
|
component: _import('table/index'),
|
62
|
- meta: { title: 'Table', icon: 'table', role: ['admin'] }}
|
|
|
|
|
61
|
+ meta: { title: 'Table', icon: 'table' }}
|
63
|
]
|
62
|
]
|
64
|
},
|
63
|
},
|
65
|
|
64
|
|