mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Field): should not reset validation after blured (#8412)
This commit is contained in:
parent
5164f361e7
commit
785caafe4a
@ -288,7 +288,9 @@ export default createComponent({
|
||||
return defaultTrigger;
|
||||
});
|
||||
|
||||
this.validate(rules);
|
||||
if (rules.length) {
|
||||
this.validate(rules);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user