indicator-ui 0.0.102 → 0.0.103

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
@@ -8538,7 +8538,11 @@ const getValidateFun = ({ validationProps, keyWay, getValue, schemeRequired, add
8538
8538
  removeError(keyWay);
8539
8539
  }
8540
8540
  else {
8541
- addError(keyWay, funRes.message);
8541
+ let message = funRes.message;
8542
+ if (message == null && typeof required === 'string') {
8543
+ message = required;
8544
+ }
8545
+ addError(keyWay, message);
8542
8546
  }
8543
8547
  };
8544
8548
  };