wargerm 0.7.59 → 0.7.61

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.
package/dist/index.esm.js CHANGED
@@ -6663,8 +6663,6 @@ var TabelCard = function TabelCard(props, ref) {
6663
6663
  if (res.code == 200) {
6664
6664
  loading();
6665
6665
  actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current2 = actionRef.current) === null || _actionRef$current2 === void 0 ? void 0 : _actionRef$current2.reload();
6666
- } else {
6667
- loading();
6668
6666
  }
6669
6667
  case 5:
6670
6668
  case "end":
@@ -6948,10 +6946,8 @@ var TabelCard = function TabelCard(props, ref) {
6948
6946
  case 3:
6949
6947
  res = _context8.sent;
6950
6948
  if (res.code == 200) {
6951
- loading();
6949
+ loading(); // 关闭弹窗
6952
6950
  actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current7 = actionRef.current) === null || _actionRef$current7 === void 0 ? void 0 : _actionRef$current7.reload();
6953
- } else {
6954
- loading();
6955
6951
  }
6956
6952
  case 5:
6957
6953
  case "end":
@@ -7205,9 +7201,10 @@ var TabelCard = function TabelCard(props, ref) {
7205
7201
  return obj;
7206
7202
  }))),
7207
7203
  search: false,
7208
- pagination: pagination !== null && pagination !== void 0 ? pagination : {
7209
- pageSize: 20
7210
- }
7204
+ pagination: _objectSpread2({
7205
+ showSizeChanger: true,
7206
+ pageSize: 10
7207
+ }, pagination || {})
7211
7208
  }, extraProps))));
7212
7209
  };
7213
7210
  var index$3 = /*#__PURE__*/React.forwardRef(TabelCard);
package/dist/index.js CHANGED
@@ -6707,8 +6707,6 @@ var TabelCard = function TabelCard(props, ref) {
6707
6707
  if (res.code == 200) {
6708
6708
  loading();
6709
6709
  actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current2 = actionRef.current) === null || _actionRef$current2 === void 0 ? void 0 : _actionRef$current2.reload();
6710
- } else {
6711
- loading();
6712
6710
  }
6713
6711
  case 5:
6714
6712
  case "end":
@@ -6992,10 +6990,8 @@ var TabelCard = function TabelCard(props, ref) {
6992
6990
  case 3:
6993
6991
  res = _context8.sent;
6994
6992
  if (res.code == 200) {
6995
- loading();
6993
+ loading(); // 关闭弹窗
6996
6994
  actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current7 = actionRef.current) === null || _actionRef$current7 === void 0 ? void 0 : _actionRef$current7.reload();
6997
- } else {
6998
- loading();
6999
6995
  }
7000
6996
  case 5:
7001
6997
  case "end":
@@ -7249,9 +7245,10 @@ var TabelCard = function TabelCard(props, ref) {
7249
7245
  return obj;
7250
7246
  }))),
7251
7247
  search: false,
7252
- pagination: pagination !== null && pagination !== void 0 ? pagination : {
7253
- pageSize: 20
7254
- }
7248
+ pagination: _objectSpread2({
7249
+ showSizeChanger: true,
7250
+ pageSize: 10
7251
+ }, pagination || {})
7255
7252
  }, extraProps))));
7256
7253
  };
7257
7254
  var index$3 = /*#__PURE__*/React__default['default'].forwardRef(TabelCard);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.7.59",
4
+ "version": "0.7.61",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",