diff --git a/packages/amis/src/renderers/Form/InputTable.tsx b/packages/amis/src/renderers/Form/InputTable.tsx index 46d2b5e0462..83bb6c19b4d 100644 --- a/packages/amis/src/renderers/Form/InputTable.tsx +++ b/packages/amis/src/renderers/Form/InputTable.tsx @@ -1040,7 +1040,7 @@ export default class FormTable< if (isNew && isEffectiveApi(addApi, createObject(data, item))) { remote = await env.fetcher(addApi, createObject(data, item)); apiMsg = (addApi as ApiObject)?.messages?.failed; - } else if (isEffectiveApi(updateApi, createObject(data, item))) { + } else if (!isNew && isEffectiveApi(updateApi, createObject(data, item))) { remote = await env.fetcher(updateApi, createObject(data, item)); apiMsg = (updateApi as ApiObject)?.messages?.failed; }