@byteluck-fe/model-driven-core-all 2.5.0-alpha.9 → 2.5.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.
|
@@ -157,7 +157,7 @@ export function getHackerControl(comid, type, tipMessage) {
|
|
|
157
157
|
}
|
|
158
158
|
return HackerPropertyClass;
|
|
159
159
|
}(Property);
|
|
160
|
-
var template = '<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="
|
|
160
|
+
var template = '<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>'.concat(tipMessage, "</div>");
|
|
161
161
|
var control = {
|
|
162
162
|
Runtime: HackerControlClass,
|
|
163
163
|
Designer: HackerControlClass,
|
|
@@ -191,8 +191,8 @@ export function loadScriptFromFetch(url, globalModules) {
|
|
|
191
191
|
fetch: nativeFetch
|
|
192
192
|
};
|
|
193
193
|
return new Promise(function(resolve, reject) {
|
|
194
|
-
|
|
195
|
-
options.fetch(
|
|
194
|
+
// const newUrl = url.replace(/^(https?:)?\/\/.*?\/component/, '/component')
|
|
195
|
+
options.fetch(url).then(function(response) {
|
|
196
196
|
var module = {
|
|
197
197
|
exports: {}
|
|
198
198
|
};
|
|
@@ -293,7 +293,7 @@ function pushControl(type, control, registered, isLoaded, props) {
|
|
|
293
293
|
if (registered.has(control.Runtime.controlType)) {
|
|
294
294
|
warn("repeat register ".concat(control.Runtime.controlType));
|
|
295
295
|
}
|
|
296
|
-
// let oldVersion
|
|
296
|
+
// let oldVersion // 此处不能赋值
|
|
297
297
|
// component_id_version_list.every(id => {
|
|
298
298
|
// const index = String(control.Runtime.controlType).indexOf(':')
|
|
299
299
|
// if (id.startsWith(control.Runtime.controlType) && index > -1) {
|