Skip to content

Commit b1f4737

Browse files
flutterbestchenshuai2144
authored andcommitted
Table supports scrolling and expanding (ant-design#2683)
1 parent 814af08 commit b1f4737

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

β€Žsrc/components/StandardTable/index.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ class StandardTable extends PureComponent {
6565
const { selectedRowKeys, needTotalList } = this.state;
6666
const {
6767
data: { list, pagination },
68-
loading,
69-
columns,
7068
rowKey,
69+
...rest
7170
} = this.props;
7271

7372
const paginationProps = {
@@ -110,13 +109,12 @@ class StandardTable extends PureComponent {
110109
/>
111110
</div>
112111
<Table
113-
loading={loading}
114112
rowKey={rowKey || 'key'}
115113
rowSelection={rowSelection}
116114
dataSource={list}
117-
columns={columns}
118115
pagination={paginationProps}
119116
onChange={this.handleTableChange}
117+
{...rest}
120118
/>
121119
</div>
122120
);

0 commit comments

Comments
Β (0)