@byteluck-fe/model-driven-core-all 2.23.0-beta.0 → 2.23.0-beta.2

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.
@@ -124,6 +124,7 @@ function _ts_generator(thisArg, body) {
124
124
  }
125
125
  import { getHackerControl } from './getHackerControl';
126
126
  import { nativeFetch, loadRemoteControl } from './loadRemoteScripts';
127
+ import { RulesMessage } from '@byteluck-fe/model-driven-shared';
127
128
  export function registerByteluckControls(url, payload) {
128
129
  return _registerByteluckControls.apply(this, arguments);
129
130
  }
@@ -165,7 +166,7 @@ function _registerByteluckControls() {
165
166
  }
166
167
  });
167
168
  if (control === undefined) {
168
- control = getHackerControl(item.id, payload.type, '内置组件加载错误');
169
+ control = getHackerControl(item.id, payload.type, RulesMessage.getMessage('loadCtrlError'));
169
170
  }
170
171
  byteluckControls.set(item.id, {
171
172
  props: item,