|
@@ -14,7 +14,6 @@ import Layout from '../views/layout/Layout'
|
14
|
14
|
* redirect: noredirect if `redirect:noredirect` will no redirct in the breadcrumb
|
15
|
15
|
* name:'router-name' the name is used by <keep-alive> (must set!!!)
|
16
|
16
|
* meta : {
|
17
|
|
- role: ['admin','editor'] will control the page role (you can set multiple roles)
|
18
|
17
|
title: 'title' the name show in submenu and breadcrumb (recommend set)
|
19
|
18
|
icon: 'svg-name' the icon show in the sidebar,
|
20
|
19
|
}
|
|
@@ -59,7 +58,7 @@ export const constantRouterMap = [
|
59
|
58
|
path: 'index',
|
60
|
59
|
name: 'Table',
|
61
|
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
|
|