agilebuilder-ui 1.0.22 → 1.0.24

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/lib/super-ui.js CHANGED
@@ -12290,7 +12290,8 @@ function getLangByShort(e) {
12290
12290
  return n && (t = JSON.parse(n)[e]), t || (t = "zh_CN"), t;
12291
12291
  }
12292
12292
  function getI18n() {
12293
- return window.$locale ? i18n.locale = window.$locale : i18n.locale = "cn", i18n.global;
12293
+ let e = window.$i18n;
12294
+ return e || (e = i18n), window.$locale ? i18n.locale = window.$locale : i18n.locale = "cn", e.global;
12294
12295
  }
12295
12296
  function getLanguageWithLocale() {
12296
12297
  let e = window.$locale;
@@ -16161,7 +16162,7 @@ function packagePathParams(e, t, n, o, i, l) {
16161
16162
  }
16162
16163
  if (i && (t.indexOf("?") !== -1 ? t += "&buttonCode=" + i : t += "?buttonCode=" + i), n.isNewPage !== void 0 && n.isNewPage === !0) {
16163
16164
  let p = "";
16164
- t.indexOf("?") !== -1 ? p = "&" : p = "?", t = t + p + "isNewPage=" + e;
16165
+ t.indexOf("?") !== -1 ? p = "&" : p = "?", t = t + p + "isNewPage=true";
16165
16166
  }
16166
16167
  return t;
16167
16168
  }