@byteluck-fe/model-driven-core-all 2.23.0-beta.10 → 2.23.0-beta.12
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,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 {
|
|
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,
|
|
169
|
+
control = getHackerControl(item.id, payload.type, getLocaleText('CMD.loadCtrlError', null, '内置组件加载错误'));
|
|
170
170
|
}
|
|
171
171
|
byteluckControls.set(item.id, {
|
|
172
172
|
props: item,
|