shineout 3.5.8-beta.1 → 3.5.8-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
@@ -507,5 +507,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
507
507
  // 此文件由脚本自动生成,请勿直接修改。
508
508
  // This file was generated automatically by a script. Please do not modify it directly.
509
509
  var _default = exports.default = {
510
- version: '3.5.8-beta.1'
510
+ version: '3.5.8-beta.2'
511
511
  };
package/dist/shineout.js CHANGED
@@ -12040,7 +12040,7 @@ var handleStyle = function handleStyle(style) {
12040
12040
  };
12041
12041
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12042
12042
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12043
- /* harmony default export */ var version = ('3.5.8-beta.1');
12043
+ /* harmony default export */ var version = ('3.5.8-beta.2');
12044
12044
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12045
12045
 
12046
12046
 
@@ -34352,7 +34352,9 @@ var getCompleteFieldKeys = function getCompleteFieldKeys(fields, allFields) {
34352
34352
  completeFields.push.apply(completeFields, toConsumableArray_default()(childFields));
34353
34353
  }
34354
34354
  });
34355
- return completeFields;
34355
+
34356
+ // 返回之前去重
34357
+ return Array.from(new Set(completeFields));
34356
34358
  };
34357
34359
  ;// CONCATENATED MODULE: ../base/src/common/use-clear.ts
34358
34360
 
@@ -47960,6 +47962,7 @@ var useForm = function useForm(props) {
47960
47962
  }
47961
47963
  var validates = finalFields.map(function (key) {
47962
47964
  var validateField = context.validateMap[key];
47965
+ if (!validateField) return [];
47963
47966
  return Array.from(validateField).map(function (validate) {
47964
47967
  return validate(key, deepGet(context.value, key), context.value, config);
47965
47968
  });
@@ -67418,7 +67421,7 @@ var upload_interface = __webpack_require__(8821);
67418
67421
 
67419
67422
 
67420
67423
  /* harmony default export */ var src_0 = ({
67421
- version: '3.5.8-beta.1'
67424
+ version: '3.5.8-beta.2'
67422
67425
  });
67423
67426
  }();
67424
67427
  /******/ return __webpack_exports__;