shineout 3.7.4-beta.4 → 3.7.4-beta.5

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.4-beta.4'
525
+ version: '3.7.4-beta.5'
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.4-beta.4');
12237
+ /* harmony default export */ var version = ('3.7.4-beta.5');
12238
12238
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12239
12239
 
12240
12240
 
@@ -47704,7 +47704,14 @@ var DatePicker = function DatePicker(props0) {
47704
47704
  (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props, e, index);
47705
47705
  if (props.needConfirm) return;
47706
47706
  if (props.inputable && index !== undefined) {
47707
- func.handleInputBlur(e.target.value, index);
47707
+ if (props.quickSelect) {
47708
+ // why: 快速选择时,需要加上timeout,否则e.target.value 获取不到最新的值
47709
+ setTimeout(function () {
47710
+ func.handleInputBlur(e.target.value, index);
47711
+ });
47712
+ } else {
47713
+ func.handleInputBlur(e.target.value, index);
47714
+ }
47708
47715
  }
47709
47716
 
47710
47717
  // 当输入框有值时,失焦时需要立即触发 onChange,否则触控板的轻触模拟出来的click事件就获取不到最新的值
@@ -71614,7 +71621,7 @@ var upload_interface = __webpack_require__(8821);
71614
71621
 
71615
71622
 
71616
71623
  /* harmony default export */ var src_0 = ({
71617
- version: '3.7.4-beta.4'
71624
+ version: '3.7.4-beta.5'
71618
71625
  });
71619
71626
  }();
71620
71627
  /******/ return __webpack_exports__;