indicator-ui 0.0.75 → 0.0.76

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/dist/index.js CHANGED
@@ -8486,10 +8486,10 @@ const getValidateFun = ({ validationProps, keyWay, value, schemeRequired, addErr
8486
8486
  return () => {
8487
8487
  let required = schemeRequired;
8488
8488
  let fun = () => true;
8489
- if ('required' in validationProps && validationProps.required !== undefined) {
8489
+ if (validationProps && 'required' in validationProps && validationProps.required !== undefined) {
8490
8490
  required = validationProps.required;
8491
8491
  }
8492
- if ('fun' in validationProps && validationProps.fun !== undefined) {
8492
+ if (validationProps && 'fun' in validationProps && validationProps.fun !== undefined) {
8493
8493
  fun = validationProps.fun;
8494
8494
  }
8495
8495
  const isEmptyValue = !value ||