From 1133f8f6c36309416329ffd9fd0634e70cd31e4d Mon Sep 17 00:00:00 2001 From: Cade Li Date: Sat, 6 May 2023 14:27:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AD=90=E7=BA=A7=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E9=9D=9E=E9=A1=B5=E9=9D=A2=E5=88=99=E8=AE=BE=E7=BD=AEalwaysSho?= =?UTF-8?q?w=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/route.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/router/route.js b/src/router/route.js index b95160a..1e1b950 100644 --- a/src/router/route.js +++ b/src/router/route.js @@ -85,6 +85,7 @@ function menuToRoute(menu) { // 子级 if (menu.parentId !== null) { const route = { + alwaysShow: !menu.leafFlag, path: menu.routePath, name: menu.routeName, component: requireComponent(menu.componentPath),