From 27064dc35de337858f55daaf510e00e9405a9c7a Mon Sep 17 00:00:00 2001 From: ayay459547 Date: Thu, 30 Oct 2025 23:14:07 +0800 Subject: [PATCH] fix: FormExpose ts type error --- components/form/Form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/form/Form.tsx b/components/form/Form.tsx index d630fa047a..8060ce420e 100755 --- a/components/form/Form.tsx +++ b/components/form/Form.tsx @@ -77,8 +77,8 @@ export const formProps = () => ({ export type FormProps = Partial>>; export type FormExpose = { - resetFields: (name?: NamePath) => void; - clearValidate: (name?: NamePath) => void; + resetFields: (nameList?: NamePath[]) => void; + clearValidate: (nameList?: NamePath[]) => void; validateFields: ( nameList?: NamePath[] | string, options?: ValidateOptions,