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

将paganation封装为组件,用prop传值给current赋值,值没赋上 #1989

Closed
1 task
jymcareu opened this issue Mar 30, 2020 · 2 comments
Closed
1 task
Labels

Comments

@jymcareu
Copy link

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

Version

1.5.0

Environment

vue版本 2.6.10

Reproduction link

https://www.antdv.com/components/pagination-cn/

Steps to reproduce

1、先将pagination封装成组件;

2、将pageIndex传进来,default:1;

3、设置 :current="pageIndex";

What is expected?

当前页为1

What is actually happening?

无当前页,下一页按钮也失效。

@jymcareu
Copy link
Author

@github-actions
Copy link

github-actions bot commented Apr 1, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants