@lemon-fe/kits 1.0.0-194 → 1.0.0-196
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.
|
@@ -1799,6 +1799,7 @@ var DataGrid = /*#__PURE__*/function (_Component) {
|
|
|
1799
1799
|
suppressClipboardPaste: true,
|
|
1800
1800
|
enableCellEditingOnBackspace: true,
|
|
1801
1801
|
maintainColumnOrder: true,
|
|
1802
|
+
suppressCsvExport: true,
|
|
1802
1803
|
noRowsOverlayComponent: this.NoRowsOverlay,
|
|
1803
1804
|
getMainMenuItems: this.getMainMenuItems,
|
|
1804
1805
|
rowBuffer: 20,
|
|
@@ -359,29 +359,37 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
|
|
|
359
359
|
this.changeResult(id, {
|
|
360
360
|
loading: true
|
|
361
361
|
});
|
|
362
|
+
/** 这里需要将handler处理成异步函数,否则后续next拿到的this.state.paused依旧是true */
|
|
363
|
+
|
|
362
364
|
_context2.next = 20;
|
|
365
|
+
return new Promise(function (res) {
|
|
366
|
+
requestAnimationFrame(res);
|
|
367
|
+
});
|
|
368
|
+
|
|
369
|
+
case 20:
|
|
370
|
+
_context2.next = 22;
|
|
363
371
|
return handler({
|
|
364
372
|
data: data,
|
|
365
373
|
payload: payload
|
|
366
374
|
});
|
|
367
375
|
|
|
368
|
-
case
|
|
376
|
+
case 22:
|
|
369
377
|
_result = _context2.sent;
|
|
370
378
|
done(_result);
|
|
371
|
-
_context2.next =
|
|
379
|
+
_context2.next = 29;
|
|
372
380
|
break;
|
|
373
381
|
|
|
374
|
-
case
|
|
375
|
-
_context2.prev =
|
|
382
|
+
case 26:
|
|
383
|
+
_context2.prev = 26;
|
|
376
384
|
_context2.t0 = _context2["catch"](16);
|
|
377
385
|
done(undefined, _context2.t0);
|
|
378
386
|
|
|
379
|
-
case
|
|
387
|
+
case 29:
|
|
380
388
|
case "end":
|
|
381
389
|
return _context2.stop();
|
|
382
390
|
}
|
|
383
391
|
}
|
|
384
|
-
}, _callee2, this, [[16,
|
|
392
|
+
}, _callee2, this, [[16, 26]]);
|
|
385
393
|
}));
|
|
386
394
|
|
|
387
395
|
function processNode(_x, _x2, _x3, _x4) {
|