|
|
@@ -13,7 +13,7 @@ Vue.use(Router)
|
|
|
* name:'router-name' the name is used by <keep-alive> (must set!!!)
|
|
|
* meta : {
|
|
|
* include: ['admin'], control the page roles (you can set multiple roles)
|
|
|
- * exclude: ['editor'], control the page roles (you can set multiple roles)
|
|
|
+ * exclude: ['visitor'], control the page roles (you can set multiple roles)
|
|
|
* title: 'title', the name show in sidebar and breadcrumb (recommend set)
|
|
|
* icon: 'svg-name'/'el-icon-x', the icon show in the sidebar
|
|
|
* activeMenu: '/example/list' if set path, the sidebar will highlight the path you set
|
|
|
@@ -198,7 +198,6 @@ export const asyncRoutes = [
|
|
|
{
|
|
|
path: '/l',
|
|
|
component: Layout,
|
|
|
- exclude: [Role.STAFF],
|
|
|
meta: { icon: 'el-icon-edit-outline' },
|
|
|
children: [
|
|
|
{
|