From 160f70859676f12532b0e5e416406624b7ba8909 Mon Sep 17 00:00:00 2001 From: hanyuxia Date: Fri, 29 Dec 2023 17:06:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:CN-1522=20=E6=8F=92=E4=BB=B6=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/permission.js b/src/permission.js index be9d3fcc..ec18ccb7 100644 --- a/src/permission.js +++ b/src/permission.js @@ -196,7 +196,7 @@ export function handleRoutes (menus, routes) { return false } // administration的路由使用了嵌套,其他的是平铺 - if (menu.pid === 0 && menu.code === 'administration') { + if (menu.pid === 0 && (menu.code === 'administration' || menu.code === 'system')) { const path = menu.route.replace('redirect:', '') if (menu.children && menu.children.length > 0) { const route = {