shineout 3.9.12-beta.8 → 3.9.12-beta.9

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.9.12-beta.8'
525
+ version: '3.9.12-beta.9'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12408,7 +12408,7 @@ var handleStyle = function handleStyle(style) {
12408
12408
  };
12409
12409
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12410
12410
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12411
- /* harmony default export */ var version = ('3.9.12-beta.8');
12411
+ /* harmony default export */ var version = ('3.9.12-beta.9');
12412
12412
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12413
12413
 
12414
12414
 
@@ -40996,9 +40996,10 @@ var useTree = function useTree(props) {
40996
40996
  });
40997
40997
  }
40998
40998
  context.cachedValue = values;
40999
- // why deep clone: 外部可能对数组做splice等操作,影响context.cachedValue在内部的判断逻辑
40999
+ // why slice: 外部可能对数组做splice等操作,影响context.cachedValue在内部的判断逻辑
41000
41000
  // 表现出来的bug现象是:外部删除了某个叶子结点,但是Tree的勾选情况没有同步更新; 另外是为了对齐老版本的表现
41001
- return deepClone(values);
41001
+ // 由于values是KeygenResult[](string|number等原始值),slice()浅拷贝即可隔离引用,无需deepClone
41002
+ return values.slice();
41002
41003
  };
41003
41004
  var getPath = function getPath(id) {
41004
41005
  return context.pathMap.get(id);
@@ -75659,7 +75660,7 @@ var upload_interface = __webpack_require__(8821);
75659
75660
 
75660
75661
 
75661
75662
  /* harmony default export */ var src_0 = ({
75662
- version: '3.9.12-beta.8'
75663
+ version: '3.9.12-beta.9'
75663
75664
  });
75664
75665
  }();
75665
75666
  /******/ return __webpack_exports__;