From 010f53f05b1da19590787751387d64a26aa78133 Mon Sep 17 00:00:00 2001 From: liaoxuezhi <2betop.cn@gmail.com> Date: Thu, 11 Jan 2024 15:10:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Table=20=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E5=88=9D=E5=A7=8B=E9=A1=B6=E9=83=A8&?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E6=98=AF=E5=90=A6=E5=88=9D=E5=A7=8B=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D=20(#9359)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-editor/src/plugin/Table.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/amis-editor/src/plugin/Table.tsx b/packages/amis-editor/src/plugin/Table.tsx index 8a451158f..3a8be9d64 100644 --- a/packages/amis-editor/src/plugin/Table.tsx +++ b/packages/amis-editor/src/plugin/Table.tsx @@ -513,6 +513,7 @@ export class TablePlugin extends BasePlugin { formType: 'extend', label: '头部', name: 'showHeader', + pipeIn: (value: any) => value ?? true, form: { body: [ { @@ -536,6 +537,7 @@ export class TablePlugin extends BasePlugin { formType: 'extend', label: '底部', name: 'showFooter', + pipeIn: (value: any) => value ?? true, form: { body: [ {