shineout 3.6.1-beta.3 → 3.6.1-beta.4

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
@@ -514,5 +514,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
514
514
  // 此文件由脚本自动生成,请勿直接修改。
515
515
  // This file was generated automatically by a script. Please do not modify it directly.
516
516
  var _default = exports.default = {
517
- version: '3.6.1-beta.3'
517
+ version: '3.6.1-beta.4'
518
518
  };
package/dist/shineout.js CHANGED
@@ -12139,7 +12139,7 @@ var handleStyle = function handleStyle(style) {
12139
12139
  };
12140
12140
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12141
12141
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12142
- /* harmony default export */ var version = ('3.6.1-beta.3');
12142
+ /* harmony default export */ var version = ('3.6.1-beta.4');
12143
12143
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12144
12144
 
12145
12145
 
@@ -49728,7 +49728,6 @@ var useForm = function useForm(props) {
49728
49728
  }
49729
49729
  context.lastValue = props.value;
49730
49730
  };
49731
- updateValue();
49732
49731
  external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect(function () {
49733
49732
  // 服务端错误更新
49734
49733
  if (!props.error) context.serverErrors = {};else {
@@ -49744,6 +49743,7 @@ var useForm = function useForm(props) {
49744
49743
 
49745
49744
  // 默认值更新
49746
49745
  external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect(function () {
49746
+ updateValue();
49747
49747
  context.removeLock = false;
49748
49748
  // 内部 onChange 改的 value, 不需要更新
49749
49749
  if (props.value === context.value) return;
@@ -52067,7 +52067,7 @@ var input_input_Input = function Input(props) {
52067
52067
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
52068
52068
  args[_key] = arguments[_key];
52069
52069
  }
52070
- (_ref$current$propsMap = ref.current.propsMap.get(child)) === null || _ref$current$propsMap === void 0 || (_ref$current$propsMap2 = _ref$current$propsMap.onFocus) === null || _ref$current$propsMap2 === void 0 || _ref$current$propsMap2.call(_ref$current$propsMap, args);
52070
+ (_ref$current$propsMap = ref.current.propsMap.get(child)) === null || _ref$current$propsMap === void 0 || (_ref$current$propsMap2 = _ref$current$propsMap.onFocus) === null || _ref$current$propsMap2 === void 0 || _ref$current$propsMap2.call.apply(_ref$current$propsMap2, [_ref$current$propsMap].concat(args));
52071
52071
  },
52072
52072
  onBlur: function onBlur() {
52073
52073
  var _ref$current$propsMap3, _ref$current$propsMap4;
@@ -52075,7 +52075,7 @@ var input_input_Input = function Input(props) {
52075
52075
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
52076
52076
  args[_key2] = arguments[_key2];
52077
52077
  }
52078
- (_ref$current$propsMap3 = ref.current.propsMap.get(child)) === null || _ref$current$propsMap3 === void 0 || (_ref$current$propsMap4 = _ref$current$propsMap3.onBlur) === null || _ref$current$propsMap4 === void 0 || _ref$current$propsMap4.call(_ref$current$propsMap3, args);
52078
+ (_ref$current$propsMap3 = ref.current.propsMap.get(child)) === null || _ref$current$propsMap3 === void 0 || (_ref$current$propsMap4 = _ref$current$propsMap3.onBlur) === null || _ref$current$propsMap4 === void 0 || _ref$current$propsMap4.call.apply(_ref$current$propsMap4, [_ref$current$propsMap3].concat(args));
52079
52079
  }
52080
52080
  });
52081
52081
  }
@@ -69676,7 +69676,7 @@ var upload_interface = __webpack_require__(8821);
69676
69676
 
69677
69677
 
69678
69678
  /* harmony default export */ var src_0 = ({
69679
- version: '3.6.1-beta.3'
69679
+ version: '3.6.1-beta.4'
69680
69680
  });
69681
69681
  }();
69682
69682
  /******/ return __webpack_exports__;