From e058192010673a076909723be5471b6da4101fdf Mon Sep 17 00:00:00 2001 From: zhou999 Date: Fri, 23 Sep 2022 20:00:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=EF=BC=9A=E3=80=90?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BC=98=E5=8C=96=E7=AC=AC=E4=BA=94=E6=89=B9?= =?UTF-8?q?=E3=80=91=E7=A9=BF=E6=A2=AD=E6=A1=86=E8=A1=A8=E6=A0=BC=E5=BD=A2?= =?UTF-8?q?=E5=BC=8F=E4=B8=8B=E6=B7=BB=E5=8A=A0=E8=A1=A8=E6=A0=BC=E8=A1=8C?= =?UTF-8?q?=E5=8F=AA=E5=AF=B9=E8=A1=A8=E6=A0=BC=E4=B8=8B=E7=9A=84=E6=9C=80?= =?UTF-8?q?=E5=90=8E=E4=B8=80=E8=A1=8C=E4=B8=BA=E7=A9=BA=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=EF=BC=9B=20amis-saas-7219?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I868eae5155957ad1c47e2217d077360d310b3f80 --- packages/amis-editor/src/renderer/TransferTableControl.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/amis-editor/src/renderer/TransferTableControl.tsx b/packages/amis-editor/src/renderer/TransferTableControl.tsx index c80738275..ac234ccc9 100644 --- a/packages/amis-editor/src/renderer/TransferTableControl.tsx +++ b/packages/amis-editor/src/renderer/TransferTableControl.tsx @@ -286,7 +286,7 @@ const renderInput = ( name: string, placeholder: string, required: boolean = true, - unique: Boolean = false + unique: boolean = false ) => { return { type: 'input-text', @@ -450,7 +450,7 @@ export default class TransferTableOption extends React.Component< const keys = value.map(item => item.name); data.options = data.options.map((item: Option) => { return { - ...keys.reduce((pv, cv, idx) => { + ...keys.reduce((pv, cv) => { pv[cv] = item[cv]; return pv; },