From a9e5492184c8b3ff2700946cf04179ac90887114 Mon Sep 17 00:00:00 2001 From: lvxiaojiao Date: Wed, 22 Nov 2023 13:45:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:inputTable=E7=9A=84addItem=E5=8A=A8?= =?UTF-8?q?=E4=BD=9C=E4=B8=8D=E5=8F=97=E6=98=AF=E5=90=A6=E5=8F=AF=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis/src/renderers/Form/InputTable.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/amis/src/renderers/Form/InputTable.tsx b/packages/amis/src/renderers/Form/InputTable.tsx index d7264c885..6fc59d868 100644 --- a/packages/amis/src/renderers/Form/InputTable.tsx +++ b/packages/amis/src/renderers/Form/InputTable.tsx @@ -1775,10 +1775,6 @@ export class TableControlRenderer extends FormTable { const ctx = this.props.store?.data || {}; // 获取当前上下文数据 if (actionType === 'addItem') { - if (addable === false) { - return; - } - const items = this.state.items.concat(); if (addApi || args) {