diff --git a/packages/admin/src/layout/index.tsx b/packages/admin/src/layout/index.tsx index 6b6c5e61..5430650f 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}` : node.link, + path: node.microAppID ? `/project/microapp/${node.microAppID}` : encodeURIComponent(node.link!), component: './project/microapp/index', children: [], icon: ,