perf[Breadcrumb]: revise the breadcrumb navigation of permission and zip (#1908)

This commit is contained in:
linfei 2019-04-15 10:31:06 +08:00 committed by 花裤衩
parent fdea6c684a
commit 14580da5b3
1 changed files with 3 additions and 1 deletions

View File

@ -118,8 +118,9 @@ export const asyncRoutes = [
{ {
path: '/permission', path: '/permission',
component: Layout, component: Layout,
redirect: '/permission/index', redirect: '/permission/page',
alwaysShow: true, // will always show the root menu alwaysShow: true, // will always show the root menu
name: 'Permission',
meta: { meta: {
title: 'permission', title: 'permission',
icon: 'lock', icon: 'lock',
@ -301,6 +302,7 @@ export const asyncRoutes = [
component: Layout, component: Layout,
redirect: '/zip/download', redirect: '/zip/download',
alwaysShow: true, alwaysShow: true,
name: 'Zip',
meta: { title: 'zip', icon: 'zip' }, meta: { title: 'zip', icon: 'zip' },
children: [ children: [
{ {