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