Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table分页组件中showQuickJumper=true时,页码跳转不出现问题 #19176

Closed
1 task
Heshiyu1996 opened this issue Oct 11, 2019 · 2 comments
Closed
1 task
Assignees

Comments

@Heshiyu1996
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1、引入一个Table组件

2、传入pagination的props

<Table
    columns={columns}
    dataSource={data}
    defaultCurrent={1}
    total={50}
    pagination={{ showQuickJumper: true }}
/>

What is expected?

showQuickJumper=true时,出现页码跳转器

What is actually happening?

showQuickJumper=true时,没用出现页码跳转器

Environment Info
antd 3.23.3
React 16.9.0
System macOS 10.14.4
Browser Chrome 77.0
@afc163
Copy link
Member

afc163 commented Oct 11, 2019

@afc163 afc163 closed this as completed Oct 11, 2019
@Heshiyu1996
Copy link
Author

谢谢!漏掉了一个total属性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants