mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
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
Block a user