shineout 3.8.9-beta.2 → 3.8.9-beta.3

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.9-beta.2'
525
+ version: '3.8.9-beta.3'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12398,7 +12398,7 @@ var handleStyle = function handleStyle(style) {
12398
12398
  };
12399
12399
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12400
12400
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12401
- /* harmony default export */ var version = ('3.8.9-beta.2');
12401
+ /* harmony default export */ var version = ('3.8.9-beta.3');
12402
12402
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12403
12403
 
12404
12404
 
@@ -57814,7 +57814,8 @@ function Select(props0) {
57814
57814
  }
57815
57815
  };
57816
57816
  var handleSelectChange = usePersistFn(function (value, dataItem, checked) {
57817
- if (createdData || props.emptyAfterSelect) {
57817
+ // why: props.emptyAfterSelect !== false 兼容之前的逻辑
57818
+ if (props.emptyAfterSelect !== false && (props.emptyAfterSelect || createdData)) {
57818
57819
  onFilter === null || onFilter === void 0 || onFilter('');
57819
57820
  }
57820
57821
  var shouldFocus = showInput && props.reFocus;
@@ -73393,7 +73394,7 @@ var upload_interface = __webpack_require__(8821);
73393
73394
 
73394
73395
 
73395
73396
  /* harmony default export */ var src_0 = ({
73396
- version: '3.8.9-beta.2'
73397
+ version: '3.8.9-beta.3'
73397
73398
  });
73398
73399
  }();
73399
73400
  /******/ return __webpack_exports__;