@@ -86,6 +86,9 @@ function filterAsyncRouter(asyncRouterMap, lastRouter = false, type = false) {
}
if (route.children != null && route.children && route.children.length) {
+ if (route.path.startsWith("/home")) {
+ route.component = () => import('@/views1/HomeView.vue')
+ }
route.children = filterAsyncRouter(route.children, route, type)
} else {
delete route['children']