indicator-ui 0.0.103 → 0.0.104
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
|
@@ -8513,11 +8513,11 @@ const getValidateFunResponse = (value, fun) => {
|
|
|
8513
8513
|
}
|
|
8514
8514
|
else if (typeof res === 'string') {
|
|
8515
8515
|
if (res === '')
|
|
8516
|
-
return { status: true, message:
|
|
8516
|
+
return { status: true, message: undefined };
|
|
8517
8517
|
else
|
|
8518
8518
|
return { status: false, message: res };
|
|
8519
8519
|
}
|
|
8520
|
-
return { status: res, message:
|
|
8520
|
+
return { status: res, message: undefined };
|
|
8521
8521
|
};
|
|
8522
8522
|
const getValidateFun = ({ validationProps, keyWay, getValue, schemeRequired, addError, removeError, }) => {
|
|
8523
8523
|
return () => {
|
|
@@ -8542,6 +8542,7 @@ const getValidateFun = ({ validationProps, keyWay, getValue, schemeRequired, add
|
|
|
8542
8542
|
if (message == null && typeof required === 'string') {
|
|
8543
8543
|
message = required;
|
|
8544
8544
|
}
|
|
8545
|
+
``;
|
|
8545
8546
|
addError(keyWay, message);
|
|
8546
8547
|
}
|
|
8547
8548
|
};
|