ecinc-cloud-wappaio 9.6.428 → 9.6.429

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.
@@ -10362,7 +10362,7 @@ function loadWappRoutes(accessedRoutes, wappRoutes) {
10362
10362
  wappRoutes.forEach(function (route) {
10363
10363
  if (route.component && typeof route.component === 'string') {
10364
10364
  route.component = window.$loadComponent(route.component);
10365
- } else if (route.meta && route.meta.href && (route.href.substring(0, 2) === '@/' || route.href.substring(0, 10) === '#/dcontent')) {
10365
+ } else if (route.meta && route.meta.href && (route.meta.href.indexOf('@/') === 0 || route.meta.href.indexOf('#/dcontent') === 0)) {
10366
10366
  route.component = window.$loadComponent(route.meta.href);
10367
10367
  }
10368
10368
  accessedRoutes.push(route);
@@ -10372,7 +10372,7 @@ function loadWappRoutes(accessedRoutes, wappRoutes) {
10372
10372
  wappRoutes.forEach(function (route) {
10373
10373
  if (route.component && typeof route.component === 'string') {
10374
10374
  route.component = window.$loadComponent(route.component);
10375
- } else if (route.meta && route.meta.href && (route.href.substring(0, 2) === '@/' || route.href.substring(0, 10) === '#/dcontent')) {
10375
+ } else if (route.meta && route.meta.href && (route.meta.href.indexOf('@/') === 0 || route.meta.href.indexOf('#/dcontent') === 0)) {
10376
10376
  route.component = window.$loadComponent(route.meta.href);
10377
10377
  }
10378
10378
  accessedRoutes.push(route);