@next-core/brick-kit 2.157.2 → 2.157.4
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/dist/index.bundle.js
CHANGED
|
@@ -6602,7 +6602,7 @@
|
|
|
6602
6602
|
})];
|
|
6603
6603
|
if (!window.NO_AUTH_GUARD) {
|
|
6604
6604
|
var matches;
|
|
6605
|
-
var appId = window.APP_ID || (window.APP_ROOT && (matches = window.APP_ROOT.match(/^(?:\/next)?\/sa-static\/([^/]+)\/versions\//)) ? matches[1] : null);
|
|
6605
|
+
var appId = window.APP_ID || (window.APP_ROOT && (matches = window.APP_ROOT.match(/^(?:(?:\/next)?\/)?sa-static\/([^/]+)\/versions\//)) ? matches[1] : null);
|
|
6606
6606
|
if (appId) {
|
|
6607
6607
|
// No need to wait.
|
|
6608
6608
|
safeGetRuntimeMicroAppStandalone(appId);
|
|
@@ -6684,6 +6684,7 @@
|
|
|
6684
6684
|
console.warn("request standalone runtime api from micro-app-standalone failed: ", error, ", something might went wrong running standalone micro app");
|
|
6685
6685
|
});
|
|
6686
6686
|
appRuntimeDataMap.set(appId, promise);
|
|
6687
|
+
return promise;
|
|
6687
6688
|
});
|
|
6688
6689
|
return _safeGetRuntimeMicroAppStandalone.apply(this, arguments);
|
|
6689
6690
|
}
|
|
@@ -9302,7 +9303,7 @@
|
|
|
9302
9303
|
dataItem.properties = _objectSpread__default["default"](_objectSpread__default["default"]({}, dataItem.properties), {}, {
|
|
9303
9304
|
className: "form-preview"
|
|
9304
9305
|
});
|
|
9305
|
-
dataItem.events = {
|
|
9306
|
+
dataItem.events = _objectSpread__default["default"](_objectSpread__default["default"]({}, dataItem.events), {}, {
|
|
9306
9307
|
"validate.error": [{
|
|
9307
9308
|
action: "preview.debug",
|
|
9308
9309
|
args: ["validate.error", "<% EVENT.detail %>"]
|
|
@@ -9311,7 +9312,7 @@
|
|
|
9311
9312
|
action: "preview.debug",
|
|
9312
9313
|
args: ["validate.success", "<% EVENT.detail %>"]
|
|
9313
9314
|
}]
|
|
9314
|
-
};
|
|
9315
|
+
});
|
|
9315
9316
|
}
|
|
9316
9317
|
//数据初始化:与默认属性进行合并
|
|
9317
9318
|
Object.keys(defaultProperties).forEach(item => {
|