mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 13:43:51 +08:00
!62 【轻量级 PR】:#5071 左侧菜单,在多个菜单里引用同一个路由下的组件,通过路由去区分
Merge pull request !62 from Mac666/N/A
This commit is contained in:
commit
c8aeaddb43
@ -133,7 +133,7 @@ export function backEndComponent(routes: any) {
|
||||
}
|
||||
item.path = '/iframes/' + window.btoa(item.path);
|
||||
} else if (item.path) {
|
||||
item.component = dynamicImport(dynamicViewsModules, item.path as string);
|
||||
item.component = dynamicImport(dynamicViewsModules, item.path.split('/:')[0]);
|
||||
}
|
||||
item.children && backEndComponent(item.children);
|
||||
if (item.children) {
|
||||
|
Loading…
Reference in New Issue
Block a user