@lemon-fe/kits 1.1.8 → 1.1.9

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.
@@ -556,7 +556,8 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
556
556
  }, {
557
557
  key: "render",
558
558
  value: function render() {
559
- var _this5 = this;
559
+ var _this5 = this,
560
+ _results$get;
560
561
  var _this$props4 = this.props,
561
562
  modalTitle = _this$props4.modalTitle,
562
563
  _afterClose = _this$props4.afterClose,
@@ -603,7 +604,7 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
603
604
  children: "\u660E\u7EC6".concat(results.size > 0 ? "(".concat(results.size, "/").concat(data.length, ")") : '')
604
605
  }), /*#__PURE__*/_jsx(Actions, {
605
606
  actions: [paused ? {
606
- disabled: data.length <= 0 || results.size >= data.length,
607
+ disabled: data.length <= 0 || results.size >= data.length || active !== undefined && ((_results$get = results.get(active)) === null || _results$get === void 0 ? void 0 : _results$get.loading),
607
608
  text: active ? '继续执行' : '开始执行',
608
609
  onClick: this.handleStart
609
610
  } : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/kits",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -44,5 +44,5 @@
44
44
  "publishConfig": {
45
45
  "registry": "https://registry.npmjs.org"
46
46
  },
47
- "gitHead": "c1976880d7e69d49e8b2416734ca3a4a137f535d"
47
+ "gitHead": "a778de9a1c5b6dce1be10cb4a501602b97254b48"
48
48
  }