mirror of
https://github.com/element-plus/element-plus.git
synced 2025-04-06 16:30:35 +08:00
chore: [form-item] redundant type assertion (#20300)
This commit is contained in:
parent
642946e4fd
commit
aa8fce48bf
@ -294,7 +294,7 @@ const doValidate = async (rules: RuleItem[]): Promise<true> => {
|
||||
return true as const
|
||||
})
|
||||
.catch((err: FormValidateFailure) => {
|
||||
onValidationFailed(err as FormValidateFailure)
|
||||
onValidationFailed(err)
|
||||
return Promise.reject(err)
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user