shineout 3.7.5-beta.5 → 3.7.5-beta.7

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/cjs/index.js CHANGED
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.7.5-beta.5'
525
+ version: '3.7.5-beta.7'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12234,7 +12234,7 @@ var handleStyle = function handleStyle(style) {
12234
12234
  };
12235
12235
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12236
12236
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12237
- /* harmony default export */ var version = ('3.7.5-beta.5');
12237
+ /* harmony default export */ var version = ('3.7.5-beta.7');
12238
12238
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12239
12239
 
12240
12240
 
@@ -39413,9 +39413,8 @@ var useTree = function useTree(props) {
39413
39413
  }
39414
39414
  context.updateMap.forEach(function (call, id) {
39415
39415
  if (ignoreExpanded) {
39416
- var _ref4 = call('get', true),
39417
- hasTriggered = _ref4.hasTriggered;
39418
- if (hasTriggered) return;
39416
+ var nodeStatus = call('get', true);
39417
+ if (nodeStatus && nodeStatus.hasTriggered) return;
39419
39418
  }
39420
39419
  call('expanded', tempExpandMap.has(id));
39421
39420
  });
@@ -57499,7 +57498,8 @@ var usePagination = function usePagination(props) {
57499
57498
  return objectSpread2_default()({}, mergedEventHandlers);
57500
57499
  };
57501
57500
  return {
57502
- current: current,
57501
+ // current,
57502
+ current: currentProp !== undefined ? currentProp : current,
57503
57503
  pageSize: pageSize,
57504
57504
  total: total,
57505
57505
  onChange: handleChange,
@@ -71647,7 +71647,7 @@ var upload_interface = __webpack_require__(8821);
71647
71647
 
71648
71648
 
71649
71649
  /* harmony default export */ var src_0 = ({
71650
- version: '3.7.5-beta.5'
71650
+ version: '3.7.5-beta.7'
71651
71651
  });
71652
71652
  }();
71653
71653
  /******/ return __webpack_exports__;