Commit b1f4737f authored by 卖代码的's avatar 卖代码的 Committed by 陈帅

Table supports scrolling and expanding (#2683)

parent 814af08c
......@@ -65,9 +65,8 @@ class StandardTable extends PureComponent {
const { selectedRowKeys, needTotalList } = this.state;
const {
data: { list, pagination },
loading,
columns,
rowKey,
...rest
} = this.props;
const paginationProps = {
......@@ -110,13 +109,12 @@ class StandardTable extends PureComponent {
/>
</div>
<Table
loading={loading}
rowKey={rowKey || 'key'}
rowSelection={rowSelection}
dataSource={list}
columns={columns}
pagination={paginationProps}
onChange={this.handleTableChange}
{...rest}
/>
</div>
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment