This commit is contained in:
花裤衩
2020-06-21 21:29:17 +08:00
23 changed files with 247 additions and 149 deletions

View File

@@ -25,7 +25,7 @@ import nestedRouter from './modules/nested'
* meta : {
roles: ['admin','editor'] control the page roles (you can set multiple roles)
title: 'title' the name show in sidebar and breadcrumb (recommend set)
icon: 'svg-name' the icon show in the sidebar
icon: 'svg-name'/'el-icon-x' the icon show in the sidebar
noCache: true if set true, the page will no be cached(default is false)
affix: true if set true, the tag will affix in the tags-view
breadcrumb: false if set false, the item will hidden in breadcrumb(default is true)
@@ -197,7 +197,7 @@ export const asyncRoutes = [
name: 'Example',
meta: {
title: 'example',
icon: 'example'
icon: 'el-icon-s-help'
},
children: [
{