@acorex/core 6.5.57 → 6.5.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2020/acorex-core.mjs
CHANGED
|
@@ -2067,12 +2067,12 @@ class AXRenderService {
|
|
|
2067
2067
|
if (children.hasOwnProperty(p)) {
|
|
2068
2068
|
const route = children[p];
|
|
2069
2069
|
const pp = (route.path != '' && route.path != null) ? parentPath + '/' + route.path : parentPath;
|
|
2070
|
-
if (pp == search && !route._loadedConfig && route.component) {
|
|
2070
|
+
if (pp == search && !route._loadedConfig && !route['_loadedRoutes'] && route.component) {
|
|
2071
2071
|
found = route;
|
|
2072
2072
|
return;
|
|
2073
2073
|
}
|
|
2074
|
-
else if (route._loadedConfig || route.children) {
|
|
2075
|
-
f(route.children || route._loadedConfig.routes, pp);
|
|
2074
|
+
else if (route._loadedConfig || route['_loadedRoutes'] || route.children) {
|
|
2075
|
+
f(route.children || route['_loadedRoutes'] || route._loadedConfig.routes, pp);
|
|
2076
2076
|
}
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|