{ path: '/core/integral-grade', component: Layout, /**父级路由组件*/ redirect:"/core/intergral-grade/list",//默认跳转的路径 name:"coreIntegralGrade", meta:{'title':'积分等级管理',icon:'el-icon-s-marketing'}, alwaysShow:true, //false 默认值 当且晋档父节点下只有一个子节点时,不显示父节点 //true:任何时候都显示父节点和子节点 children: [ { path: 'list', component: () => import('@/views/core/integral-grade/list'), name: 'coreIntegralGradeList', meta: { title: '积分等级列表', icon: 'documentation', affix: true } }, { path: 'create', component: () => import('@/views/core/integral-grade/form'), name: 'coreIntegralGradeCreate', meta: { title: '新增积分等级', icon: 'documentation', affix: true } }, { path: 'edit', component: () => import('@/views/core/integral-grade/form'), name: 'coreIntegralGradeEdit', meta: { title: '编辑积分等级', icon: 'documentation', affix: true }, hidden:true }, ] },
start nginx.exe
nginx.exe -s stop
nginx.exe -s reload
标签:core,vue,项目,grade,integral,学习,meta,true,icon From: https://www.cnblogs.com/liyanxi/p/16654192.html