From 406d151ebd10af09854f9d40847b02405c5a6fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E8=AA=89=E7=A8=8B?= <2659568239@qq.com> Date: Wed, 6 Dec 2023 14:46:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MY/KeyBodyManage/Import/index.tsx | 2 +- src/pages/MY/KeyBodyManage/ReceiptForm/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/MY/KeyBodyManage/Import/index.tsx b/src/pages/MY/KeyBodyManage/Import/index.tsx index 655a877..f6e3b5e 100644 --- a/src/pages/MY/KeyBodyManage/Import/index.tsx +++ b/src/pages/MY/KeyBodyManage/Import/index.tsx @@ -77,7 +77,7 @@ export default function Page() { pagination={false} bordered columns={columns} - dataSource={[{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]} + dataSource={tableData} rowKey={(record: any) => record?.id} rowClassName={rowClassName} /> diff --git a/src/pages/MY/KeyBodyManage/ReceiptForm/index.tsx b/src/pages/MY/KeyBodyManage/ReceiptForm/index.tsx index c353a65..1362d24 100644 --- a/src/pages/MY/KeyBodyManage/ReceiptForm/index.tsx +++ b/src/pages/MY/KeyBodyManage/ReceiptForm/index.tsx @@ -56,7 +56,7 @@ export default function Page() { 0 ? tableData.length > 0 ? { y: 41 * 9 } : {} : {}} + scroll={tableData.length > 0 ? { y: 41 * 9 } : {}} pagination={false} bordered columns={columns} @@ -93,7 +93,7 @@ export default function Page() {
0 ? tableData.length > 0 ? { y: 41 * 9 } : {} : {}} + scroll={tableData.length > 0 ? { y: 41 * 9 } : {}} pagination={false} bordered columns={columns1}