shineout 3.5.3-beta.1 → 3.5.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
@@ -500,5 +500,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
500
500
  // 此文件由脚本自动生成,请勿直接修改。
501
501
  // This file was generated automatically by a script. Please do not modify it directly.
502
502
  var _default = exports.default = {
503
- version: '3.5.3-beta.1'
503
+ version: '3.5.3-beta.2'
504
504
  };
package/dist/shineout.js CHANGED
@@ -12030,7 +12030,7 @@ var handleStyle = function handleStyle(style) {
12030
12030
  };
12031
12031
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12032
12032
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12033
- /* harmony default export */ var version = ('3.5.3-beta.1');
12033
+ /* harmony default export */ var version = ('3.5.3-beta.2');
12034
12034
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12035
12035
 
12036
12036
 
@@ -47705,9 +47705,11 @@ var useForm = function useForm(props) {
47705
47705
  onChange(function (draft) {
47706
47706
  var values = Object.keys(vals);
47707
47707
  // 针对 name 为数组模式,如 datepicker 的 name={['startTime', 'endTime']} 时,前者校验可能需要依赖后者,因此需要提前将后者数据整合至 draft 用于多字段整合校验
47708
- var nextDraft = Object.assign({}, current(draft), vals);
47708
+ var nextDraft = current(draft);
47709
+ values.forEach(function (key) {
47710
+ deepSet(nextDraft, key, vals[key], deepSetOptions);
47711
+ });
47709
47712
  values.forEach(function (key) {
47710
- deepSet(draft, key, vals[key], deepSetOptions);
47711
47713
  if (option.validate) {
47712
47714
  var _context$validateMap$;
47713
47715
  (_context$validateMap$ = context.validateMap[key]) === null || _context$validateMap$ === void 0 || _context$validateMap$.forEach(function (validate) {
@@ -66932,7 +66934,7 @@ var upload_interface = __webpack_require__(8821);
66932
66934
 
66933
66935
 
66934
66936
  /* harmony default export */ var src_0 = ({
66935
- version: '3.5.3-beta.1'
66937
+ version: '3.5.3-beta.2'
66936
66938
  });
66937
66939
  }();
66938
66940
  /******/ return __webpack_exports__;