fix: validateFields await missing
parent
403ec7cfa3
commit
c0bdd8894b
|
@ -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