@byteluck-fe/model-driven-engine 2.8.0-alpha.1g → 2.8.0-alpha.1i

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.
@@ -649,9 +649,6 @@ var Engine = /*#__PURE__*/ function(Watcher) {
649
649
  // this.setStates(newValue[i], i, options)
650
650
  // }
651
651
  var deleted = oldValue !== null && oldValue !== void 0 ? oldValue : [];
652
- if ((eventOptionsTemp === null || eventOptionsTemp === void 0 ? void 0 : eventOptionsTemp.listChange) === "noDelete") {
653
- deleted = [];
654
- }
655
652
  this.emit("list-change", {
656
653
  instance: instance,
657
654
  value: value,
@@ -1361,7 +1358,7 @@ var Engine = /*#__PURE__*/ function(Watcher) {
1361
1358
  });
1362
1359
  this.debugLog("engine setData方法数据组合完成,参数为%o。", newState);
1363
1360
  this.setStates(newState, undefined, _object_spread({
1364
- listChange: "noDelete"
1361
+ setDate: true
1365
1362
  }, options));
1366
1363
  this.debugLog("engine setData方法执行完成。");
1367
1364
  }
@@ -1657,7 +1654,7 @@ var Engine = /*#__PURE__*/ function(Watcher) {
1657
1654
  }
1658
1655
  var rowIndex;
1659
1656
  // @ts-ignore
1660
- if (this.assertInstance(instance, CONTROL_TYPE.SUBTABLE_COLUMN)) {
1657
+ if (this.assertInstance(instance.parent, CONTROL_TYPE.SUBTABLE_COLUMN) && this.assertInstance(instance.parent.parent, CONTROL_TYPE.SUBTABLE)) {
1661
1658
  rowIndex = -1;
1662
1659
  } else {
1663
1660
  var isColumnChild = this.getInstanceParentControl(instance, // @ts-ignore