mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
fix(Form): should reset validation before submit (#7103)
This commit is contained in:
@@ -255,6 +255,7 @@ export default createComponent({
|
||||
resolve();
|
||||
}
|
||||
|
||||
this.resetValidation();
|
||||
this.runRules(rules).then(() => {
|
||||
if (this.validateFailed) {
|
||||
resolve({
|
||||
|
||||
Reference in New Issue
Block a user