diff --git a/components/form/FormItem.tsx b/components/form/FormItem.tsx index efef0d916..e237aa98a 100644 --- a/components/form/FormItem.tsx +++ b/components/form/FormItem.tsx @@ -285,6 +285,12 @@ export default defineComponent({ resetField, }); + // instead useProvideFormItemContext onFieldChange + watch(fieldValue, () => { + if (props.autoLink) { + onFieldChange(); + } + }); useProvideFormItemContext( { id: fieldId, @@ -294,9 +300,9 @@ export default defineComponent({ } }, onFieldChange: () => { - if (props.autoLink) { - onFieldChange(); - } + // if (props.autoLink) { + // onFieldChange(); + // } }, clearValidate, },