From cc3a671f7c4aa1248eb5f84177668458c2bf0fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Thu, 1 Jun 2023 13:36:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=9B=E5=BE=AE=E8=96=AA=E8=B5=84=E6=A0=B8?= =?UTF-8?q?=E7=AE=97iframe=E8=A1=A8=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/standingbookTable/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/standingbookTable/index.tsx b/src/pages/standingbookTable/index.tsx index 595872b..56275fb 100644 --- a/src/pages/standingbookTable/index.tsx +++ b/src/pages/standingbookTable/index.tsx @@ -106,6 +106,7 @@ const StandingbookTable: FC = (props) => { }; const rowSelection = { selectedRowKeys: selected, + columnWidth: 80, onChange: (selectedRowKeys: Array) => { setSelected(selectedRowKeys); window.parent.postMessage( @@ -136,9 +137,9 @@ const StandingbookTable: FC = (props) => { { _.isEmpty(sumRow) ? : - _.map(columns, (item, index) => { + _.map([{}, ...columns], (item, index) => { if (index === 0) { - return 总计; } return