diff --git a/src/components/Form/src/hooks/useFormEvents.ts b/src/components/Form/src/hooks/useFormEvents.ts index 38517419a..ea3b711bb 100644 --- a/src/components/Form/src/hooks/useFormEvents.ts +++ b/src/components/Form/src/hooks/useFormEvents.ts @@ -123,7 +123,7 @@ export function useFormEvents({ const { componentProps } = schema || {}; let _props = componentProps as any; if (typeof componentProps === 'function') { - _props = _props({ formModel: unref(formModel) }); + _props = _props({ formModel: unref(formModel), formActionType: unref(formElRef) }); } const constructValue = tryConstructArray(key, values) || tryConstructObject(key, values);