fix: validateFields await missing

pull/40/MERGE
xingyu 2023-11-09 11:32:40 +08:00
parent 403ec7cfa3
commit c0bdd8894b
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}