From b052ecb2d29eb6916bcb1df248fd1b4df114535b Mon Sep 17 00:00:00 2001 From: VJ Date: Wed, 19 Jan 2022 11:19:35 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=BF=AE=E6=AD=A3=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E8=8F=9C=E5=8D=95=E8=B7=B3=E5=A4=96=E9=93=BE=E6=97=B6?= =?UTF-8?q?#=E7=9A=84=E9=97=AE=E9=A2=98"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/admin/src/layout/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/admin/src/layout/index.tsx b/packages/admin/src/layout/index.tsx index 5430650f..6b6c5e61 100644 --- a/packages/admin/src/layout/index.tsx +++ b/packages/admin/src/layout/index.tsx @@ -215,7 +215,7 @@ const Layout: React.FC = (props) => { // 链接菜单,外跳 if (menuItemProps.isUrl) { return ( - + {defaultDom} ) @@ -262,7 +262,7 @@ const mapCustomMenuTree = (node: CustomMenuItem): any => { key: node.id, authority: 'isLogin', name: node.title, - path: node.microAppID ? `/project/microapp/${node.microAppID}` : encodeURIComponent(node.link!), + path: node.microAppID ? `/project/microapp/${node.microAppID}` : node.link, component: './project/microapp/index', children: [], icon: ,