fix(Field): should not reset validation after blured (#8412)

This commit is contained in:
neverland 2021-03-26 17:46:09 +08:00 committed by GitHub
parent 5164f361e7
commit 785caafe4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -288,8 +288,10 @@ export default createComponent({
return defaultTrigger; return defaultTrigger;
}); });
if (rules.length) {
this.validate(rules); this.validate(rules);
} }
}
}, },
resetValidation() { resetValidation() {