Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -82,7 +82,7 @@ export function transformObjToRoute<T = AppRouteModule>(routeList: AppRouteModul | @@ -82,7 +82,7 @@ export function transformObjToRoute<T = AppRouteModule>(routeList: AppRouteModul | ||
| 82 | route.meta = meta; | 82 | route.meta = meta; | 
| 83 | } | 83 | } | 
| 84 | } | 84 | } | 
| 85 | - if (!route.path.startsWith('/') && route.meta.isLink) { | 85 | + if (!route.path?.startsWith('/') && route.meta.isLink) { | 
| 86 | route.path = `${OUTSIDE_LINK_PREFIX}${route.path}`; | 86 | route.path = `${OUTSIDE_LINK_PREFIX}${route.path}`; | 
| 87 | } | 87 | } | 
| 88 | route.children && asyncImportRoute(route.children); | 88 | route.children && asyncImportRoute(route.children); |