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}