shineout 3.8.2 → 3.8.3-beta.2

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.8.2'
525
+ version: '3.8.3-beta.2'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
12386
12386
  };
12387
12387
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12388
12388
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12389
- /* harmony default export */ var version = ('3.8.2');
12389
+ /* harmony default export */ var version = ('3.8.3-beta.2');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -32289,7 +32289,7 @@ var src_config_config = {
32289
32289
  trim: undefined,
32290
32290
  spin: 'ring',
32291
32291
  tooltip: undefined,
32292
- empty: undefined,
32292
+ empty: {},
32293
32293
  direction: 'ltr',
32294
32294
  popupContainer: null
32295
32295
  };
@@ -39728,7 +39728,9 @@ var useTree = function useTree(props) {
39728
39728
  if (unmatch) values.push(id);
39729
39729
  });
39730
39730
  context.cachedValue = values;
39731
- return values;
39731
+ // why deep clone: 外部可能对数组做splice等操作,影响context.cachedValue在内部的判断逻辑
39732
+ // 表现出来的bug现象是:外部删除了某个叶子结点,但是Tree的勾选情况没有同步更新; 另外是为了对齐老版本的表现
39733
+ return deepClone(values);
39732
39734
  };
39733
39735
  var getPath = function getPath(id) {
39734
39736
  return context.pathMap.get(id);
@@ -73103,7 +73105,7 @@ var upload_interface = __webpack_require__(8821);
73103
73105
 
73104
73106
 
73105
73107
  /* harmony default export */ var src_0 = ({
73106
- version: '3.8.2'
73108
+ version: '3.8.3-beta.2'
73107
73109
  });
73108
73110
  }();
73109
73111
  /******/ return __webpack_exports__;