From 69b28041c1ca884a300402a23f29ab7d766020b3 Mon Sep 17 00:00:00 2001 From: 2betop <2698393+2betop@users.noreply.github.com> Date: Thu, 5 Dec 2024 20:20:53 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20inputTable=20path=20=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E4=B8=8D=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis/src/renderers/Form/InputTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amis/src/renderers/Form/InputTable.tsx b/packages/amis/src/renderers/Form/InputTable.tsx index 6987a889578..46d2b5e0462 100644 --- a/packages/amis/src/renderers/Form/InputTable.tsx +++ b/packages/amis/src/renderers/Form/InputTable.tsx @@ -1224,7 +1224,7 @@ export default class FormTable< const firstRow = filteredItems[list[0]]; list[0] = items.findIndex(item => item === firstRow); if (list[0] === -1) { - throw new Error('row not found'); + return path; } return list.join('.'); }