ps-toolkit-ui 1.22.45 → 1.22.46

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.
@@ -3910,8 +3910,9 @@
3910
3910
  p.Area = _this.permissions.Area;
3911
3911
  p.Controller = option.Controller;
3912
3912
  p.Action = option.Action;
3913
- var data = { Ids: _this.data().map(function (x) { return x.Id; }), AllChecked: _this.allChecked };
3914
- _this.showConfirm(_this.l(option.Action + 'ConfirmMulti', _this.allChecked ? _this.count : data.Ids.length), _this.getOptionUrl(option.Url, _this.permissions.RelatedId, ''), data, function () {
3913
+ var ids = _this.data().map(function (x) { return x.Id; });
3914
+ var data = _this.allChecked ? _this.searchData() : { Ids: ids };
3915
+ _this.showConfirm(_this.l(option.Action + 'ConfirmMulti', _this.allChecked ? _this.count : ids.length), _this.getOptionUrl(option.Url, _this.permissions.RelatedId, (_this.allChecked ? '-1' : '')), data, function () {
3915
3916
  _this.load();
3916
3917
  });
3917
3918
  };