From 8c936738e90fadcb4ef6ebb27150c763eed77788 Mon Sep 17 00:00:00 2001 From: Alex Liu Date: Sat, 6 Jan 2024 17:30:32 +0800 Subject: [PATCH] refactor: update code order --- packages/core/src/composables/useForm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/composables/useForm.ts b/packages/core/src/composables/useForm.ts index e74948f..1152f7e 100644 --- a/packages/core/src/composables/useForm.ts +++ b/packages/core/src/composables/useForm.ts @@ -606,8 +606,8 @@ export function useForm< return { value: getFieldValue(name), attrs: getFieldAttrs(name), - ...getFieldMeta(name), validateField: () => validateField(toValue(name)), + ...getFieldMeta(name), }; };