Skip to content

Commit

Permalink
Merge e023616 into e782748
Browse files Browse the repository at this point in the history
  • Loading branch information
EngsShi committed May 9, 2018
2 parents e782748 + e023616 commit 905360b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util.js
Expand Up @@ -160,12 +160,12 @@ export function asyncMap(objArr, option, func, callback) {
export function complementError(rule) {
return (oe) => {
if (oe && oe.message) {
oe.field = oe.field || rule.fullField;
oe.field = oe.field || rule.field;
return oe;
}
return {
message: oe,
field: oe.field || rule.fullField,
field: oe.field || rule.field,
};
};
}
Expand Down

0 comments on commit 905360b

Please sign in to comment.