Skip to content

Commit dd3f883

Browse files
committed
fix: 修复table页面中的Pagination没有默认选中第一页的问题
1 parent 2808638 commit dd3f883

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/table/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ class TableComponent extends Component {
222222
pageSizeOptions={["10", "20", "40"]}
223223
showTotal={(total) => `共${total}条数据`}
224224
onChange={this.changePage}
225+
current={this.state.listQuery.pageNumber}
225226
onShowSizeChange={this.changePageSize}
226227
showSizeChanger
227228
showQuickJumper

0 commit comments

Comments
 (0)