@fle-ui/plus-table 1.2.23 → 1.2.24

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/es/index.js CHANGED
@@ -177,7 +177,10 @@ var PlusTable = /*#__PURE__*/forwardRef(function (props, ref) {
177
177
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
178
178
  while (1) switch (_context5.prev = _context5.next) {
179
179
  case 0:
180
- return _context5.abrupt("return", (_props$resetSetting = props.resetSetting) === null || _props$resetSetting === void 0 ? void 0 : _props$resetSetting.call(props));
180
+ return _context5.abrupt("return", (_props$resetSetting = props.resetSetting) === null || _props$resetSetting === void 0 ? void 0 : _props$resetSetting.call(props).then(function (res) {
181
+ console.log(res);
182
+ res.success && init();
183
+ }));
181
184
  case 1:
182
185
  case "end":
183
186
  return _context5.stop();
package/lib/index.js CHANGED
@@ -181,7 +181,10 @@ var PlusTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
181
181
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
182
182
  while (1) switch (_context5.prev = _context5.next) {
183
183
  case 0:
184
- return _context5.abrupt("return", (_props$resetSetting = props.resetSetting) === null || _props$resetSetting === void 0 ? void 0 : _props$resetSetting.call(props));
184
+ return _context5.abrupt("return", (_props$resetSetting = props.resetSetting) === null || _props$resetSetting === void 0 ? void 0 : _props$resetSetting.call(props).then(function (res) {
185
+ console.log(res);
186
+ res.success && init();
187
+ }));
185
188
  case 1:
186
189
  case "end":
187
190
  return _context5.stop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fle-ui/plus-table",
3
- "version": "1.2.23",
3
+ "version": "1.2.24",
4
4
  "description": "@fle-ui/plus-table",
5
5
  "keywords": [
6
6
  "fle-ui",
@@ -46,5 +46,5 @@
46
46
  "@ant-design/pro-components": "^2.7.0",
47
47
  "dayjs": "^1.11.10"
48
48
  },
49
- "gitHead": "602df5be43d6a9afca1bf8428b9e406a2a0bd405"
49
+ "gitHead": "6516adaf2e6579cf5d357fe403153ea356b344b9"
50
50
  }