master_basic
鲁誉程 1 year ago
parent f45c3be8d0
commit 406d151ebd

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

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

Loading…
Cancel
Save