Skip to content

Commit 0f4015d

Browse files
authored
Merge pull request #7 from hiui-group/hotfix/pagination
修复分页 bug
2 parents 95650ce + ae8281b commit 0f4015d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hi-ui/component-kit",
3-
"version": "0.5.4",
3+
"version": "0.5.5",
44
"main": "index.js",
55
"module": "es/index.js",
66
"file": [

src/data-filter/data-filter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ export default class DataFilter extends Component {
402402
tableProps.pagination = {
403403
pageSize: table.pageSize,
404404
total: total,
405-
page: page,
405+
defaultCurrent: page,
406406
onChange: page => {
407407
this.setState({ page: page }, () => {
408408
this.fetchDatas(this.props)

0 commit comments

Comments
 (0)