mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Form): should reset validation before submit (#7103)
This commit is contained in:
parent
d0e6bd3c16
commit
f6e3aaebec
@ -255,6 +255,7 @@ export default createComponent({
|
||||
resolve();
|
||||
}
|
||||
|
||||
this.resetValidation();
|
||||
this.runRules(rules).then(() => {
|
||||
if (this.validateFailed) {
|
||||
resolve({
|
||||
|
Loading…
x
Reference in New Issue
Block a user