mirror of
https://gitcode.com/flipped-aurora/gin-vue-admin.git
synced 2026-05-20 06:07:58 +00:00
路由嵌套情况下保证无边框功能可用
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