!369 解决只有一个菜单时无法显示目录

Merge pull request !369 from zhang.xionghui/master
This commit is contained in:
芋道源码 2023-02-04 02:13:45 +00:00 committed by Gitee
commit ee150702b7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -73,6 +73,8 @@ function filterAsyncRouter(asyncRouterMap, lastRouter = false, type = false) {
} else {
route.component = ParentView
}
// 解决只有一个菜单时无法显示目录
route.alwaysShow = true
} else { // 根节点
route.component = loadView(route.component)
}