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

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,
@@ -1360,9 +1357,7 @@ var Engine = /*#__PURE__*/ function(Watcher) {
1360
1357
  }
1361
1358
  });
1362
1359
  this.debugLog("engine setData方法数据组合完成,参数为%o。", newState);
1363
- this.setStates(newState, undefined, _object_spread({
1364
- listChange: "noDelete"
1365
- }, options));
1360
+ this.setStates(newState, undefined, options);
1366
1361
  this.debugLog("engine setData方法执行完成。");
1367
1362
  }
1368
1363
  },
@@ -1657,7 +1652,7 @@ var Engine = /*#__PURE__*/ function(Watcher) {
1657
1652
  }
1658
1653
  var rowIndex;
1659
1654
  // @ts-ignore
1660
- if (this.assertInstance(instance, CONTROL_TYPE.SUBTABLE_COLUMN)) {
1655
+ if (this.assertInstance(instance.parent, CONTROL_TYPE.SUBTABLE_COLUMN) && this.assertInstance(instance.parent.parent, CONTROL_TYPE.SUBTABLE)) {
1661
1656
  rowIndex = -1;
1662
1657
  } else {
1663
1658
  var isColumnChild = this.getInstanceParentControl(instance, // @ts-ignore