Skip to content

Commit

Permalink
修复 required(fn) 消息提示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Jony committed Mar 26, 2020
1 parent 3e93ebe commit 27c5ddd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jquery.validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -1711,6 +1711,7 @@
if ( !val && !me.test(element, params[0]) ) {
return null;
}
me._r = 'required'
}
}
else if ( params[0] === 'not' ) {
Expand Down

0 comments on commit 27c5ddd

Please sign in to comment.