mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 10:20:19 +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();
|
resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.resetValidation();
|
||||||
this.runRules(rules).then(() => {
|
this.runRules(rules).then(() => {
|
||||||
if (this.validateFailed) {
|
if (this.validateFailed) {
|
||||||
resolve({
|
resolve({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user