diff --git a/packages/core/client/src/schema-component/antd/action/Action.tsx b/packages/core/client/src/schema-component/antd/action/Action.tsx index bac2b877cf..f5c9e3f9df 100644 --- a/packages/core/client/src/schema-component/antd/action/Action.tsx +++ b/packages/core/client/src/schema-component/antd/action/Action.tsx @@ -59,14 +59,13 @@ export const Action: ComposedAction = observer( const { modal } = App.useApp(); let actionTitle = title || compile(fieldSchema.title); actionTitle = lodash.isString(actionTitle) ? t(actionTitle) : actionTitle; - useEffect(() => { field.linkageProperty = {}; linkageRules .filter((k) => !k.disabled) .forEach((v) => { return v.actions?.map((h) => { - linkageAction(h.operator, field, v.condition, values); + linkageAction(h.operator, field, v.condition, form.initialValues); }); }); }, [linkageRules, values, designable]);