路由嵌套情况下保证无边框功能可用
This commit is contained in:
@@ -9,8 +9,6 @@ export const asyncRouterHandle = (asyncRouter) => {
|
||||
} else if (item.component.split('/')[0] === 'plugin') {
|
||||
item.component = dynamicImport(pluginModules, item.component)
|
||||
}
|
||||
} else {
|
||||
delete item['component']
|
||||
}
|
||||
if (item.children) {
|
||||
asyncRouterHandle(item.children)
|
||||
|
Reference in New Issue
Block a user