ecinc-cloud-mappaio 9.6.52 → 9.6.53

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.
@@ -737,9 +737,9 @@ function loadWappRoutes(accessedRoutes, wappRoutes, parentRoutes) {
737
737
  if (href !== null && href.substring(0, 11) === '#/dcontent/') {
738
738
  var vueurl = href.substring(11);
739
739
  if (vueurl.indexOf('?') === -1) {
740
- vueurl += '.vue?sysCode=' + menuItem.sysCode;
740
+ vueurl += '.vue?sysCode=' + (parentRoutes.sysCode || parentRoutes.meta.sysCode);
741
741
  } else {
742
- vueurl = href.substring(11).split('?')[0] + '.vue?sysCode=' + menuItem.sysCode + '&' + href.substring(11).split('?')[1];
742
+ vueurl = href.substring(11).split('?')[0] + '.vue?sysCode=' + (parentRoutes.sysCode || parentRoutes.meta.sysCode) + '&' + href.substring(11).split('?')[1];
743
743
  }
744
744
  if (vueurl.indexOf('portalpage/') === 0) {
745
745
  component = window.$loadComponent('#/dcontent/' + vueurl);
@@ -747,9 +747,9 @@ function loadWappRoutes(accessedRoutes, wappRoutes, parentRoutes) {
747
747
  if (href !== null && href.substring(0, 11) === '#/dcontent/') {
748
748
  var vueurl = href.substring(11);
749
749
  if (vueurl.indexOf('?') === -1) {
750
- vueurl += '.vue?sysCode=' + menuItem.sysCode;
750
+ vueurl += '.vue?sysCode=' + (parentRoutes.sysCode || parentRoutes.meta.sysCode);
751
751
  } else {
752
- vueurl = href.substring(11).split('?')[0] + '.vue?sysCode=' + menuItem.sysCode + '&' + href.substring(11).split('?')[1];
752
+ vueurl = href.substring(11).split('?')[0] + '.vue?sysCode=' + (parentRoutes.sysCode || parentRoutes.meta.sysCode) + '&' + href.substring(11).split('?')[1];
753
753
  }
754
754
  if (vueurl.indexOf('portalpage/') === 0) {
755
755
  component = window.$loadComponent('#/dcontent/' + vueurl);