@byteluck-fe/model-driven-core-all 2.23.0-beta.11 → 2.23.0-beta.13

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/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # `runtime-all`
2
-
3
- > TODO: description
4
-
5
- ## Usage
6
-
7
- ```
8
- const runtimeAll = require('runtime-all');
9
-
10
- // TODO: DEMONSTRATE API
11
- ```
1
+ # `runtime-all`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const runtimeAll = require('runtime-all');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
@@ -124,7 +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
+ import { getLocaleText } from '@byteluck-fe/locale-message';
128
128
  export function registerByteluckControls(url, payload) {
129
129
  return _registerByteluckControls.apply(this, arguments);
130
130
  }
@@ -166,7 +166,7 @@ function _registerByteluckControls() {
166
166
  }
167
167
  });
168
168
  if (control === undefined) {
169
- control = getHackerControl(item.id, payload.type, RulesMessage.getMessage('loadCtrlError'));
169
+ control = getHackerControl(item.id, payload.type, getLocaleText('CMD.loadCtrlError', null, '内置组件加载错误'));
170
170
  }
171
171
  byteluckControls.set(item.id, {
172
172
  props: item,