fix: validateFields await missing (#3254)
This commit is contained in:
parent
8ef39def79
commit
71c3fea88a
|
|
@ -336,7 +336,7 @@ export function useFormEvents({
|
|||
}
|
||||
|
||||
async function validateFields(nameList?: NamePath[] | undefined) {
|
||||
const values = unref(formElRef)?.validateFields(nameList);
|
||||
const values = await unref(formElRef)?.validateFields(nameList);
|
||||
return handleFormValues(values);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue