master_basic
鲁誉程 12 months ago
parent f45c3be8d0
commit 406d151ebd

@ -77,7 +77,7 @@ export default function Page() {
pagination={false}
bordered
columns={columns}
dataSource={[{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]}
dataSource={tableData}
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>

@ -56,7 +56,7 @@ export default function Page() {
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 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() {
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? tableData.length > 0 ? { y: 41 * 9 } : {} : {}}
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
bordered
columns={columns1}

Loading…
Cancel
Save