Skip to content

Commit 14580da

Browse files
linfeimyPanJiaChen
authored andcommitted
perf[Breadcrumb]: revise the breadcrumb navigation of permission and zip (#1908)
1 parent fdea6c6 commit 14580da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/router/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,9 @@ export const asyncRoutes = [
118118
{
119119
path: '/permission',
120120
component: Layout,
121-
redirect: '/permission/index',
121+
redirect: '/permission/page',
122122
alwaysShow: true, // will always show the root menu
123+
name: 'Permission',
123124
meta: {
124125
title: 'permission',
125126
icon: 'lock',
@@ -301,6 +302,7 @@ export const asyncRoutes = [
301302
component: Layout,
302303
redirect: '/zip/download',
303304
alwaysShow: true,
305+
name: 'Zip',
304306
meta: { title: 'zip', icon: 'zip' },
305307
children: [
306308
{

0 commit comments

Comments
 (0)