|
|
@@ -174,7 +174,6 @@ function handleAsyncRoutes(routeList) {
|
|
|
.find(n => n.path === "/");
|
|
|
// 保持router.options.routes[0].children与path为"/"的children一致,防止数据不一致导致异常
|
|
|
flattenRouters.children = router.options.routes[0].children;
|
|
|
- console.log("flattttttttttt", flattenRouters);
|
|
|
router.addRoute(flattenRouters);
|
|
|
}
|
|
|
}
|