@byteluck-fe/model-driven-engine 2.21.0-beta.9 → 2.22.0-beta.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.
|
@@ -237,9 +237,10 @@ export var ActionManager = /*#__PURE__*/ function() {
|
|
|
237
237
|
e = _state.sent();
|
|
238
238
|
// 执行的时候不使用throw error,而是使用console.error,避免阻塞内置代码的执行
|
|
239
239
|
logerror("".concat(action.id, " Exception during calling action: ").concat(e));
|
|
240
|
+
//尤其是在表单提交前事件异常,不能默认允许它通过。
|
|
240
241
|
return [
|
|
241
|
-
|
|
242
|
-
|
|
242
|
+
2,
|
|
243
|
+
false
|
|
243
244
|
];
|
|
244
245
|
case 4:
|
|
245
246
|
return [
|
|
@@ -1575,7 +1575,7 @@ var Engine = /*#__PURE__*/ function(Watcher) {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
var mapping = this.store.dataBindMapping[dataCode];
|
|
1577
1577
|
if (!mapping) {
|
|
1578
|
-
warn(
|
|
1578
|
+
// warn(`No corresponding dataCode=${dataCode} was found`)
|
|
1579
1579
|
return;
|
|
1580
1580
|
}
|
|
1581
1581
|
if (!fieldCode) {
|
|
@@ -1585,7 +1585,7 @@ var Engine = /*#__PURE__*/ function(Watcher) {
|
|
|
1585
1585
|
return item.fieldCode === fieldCode;
|
|
1586
1586
|
});
|
|
1587
1587
|
if (!dataBindMapping) {
|
|
1588
|
-
warn(
|
|
1588
|
+
// warn(`No corresponding fieldCode=${fieldCode} was found`)
|
|
1589
1589
|
return;
|
|
1590
1590
|
}
|
|
1591
1591
|
return dataBindMapping;
|