@byteluck-fe/model-driven-core-all 2.23.0-beta.17 → 2.23.0-beta.19

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.
@@ -153,7 +153,7 @@ function _registerByteluckControls() {
153
153
  components = JSON.parse(componentsStr);
154
154
  return [
155
155
  4,
156
- loadRemoteControl("".concat(url, "/").concat(payload.type, ".js?v=").concat(version), payload.globalModules)
156
+ loadRemoteControl("".concat(url, "/").concat(payload.type, ".js?v=").concat(version, "&").concat(payload.isPc === false ? 'mobile' : 'desktop'), payload.globalModules)
157
157
  ];
158
158
  case 2:
159
159
  controls = _state.sent();
@@ -212,7 +212,7 @@ function _registerCustomControls() {
212
212
  } else {
213
213
  url = item.designer;
214
214
  }
215
- url += '?v=' + item.version;
215
+ url += '?v=' + item.version + '&' + (payload.isPc === false ? 'mobile' : 'desktop');
216
216
  return [
217
217
  4,
218
218
  loadRemoteControl(url, refLibs)