Skip to content
New issue

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

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

Already on GitHub? # to your account

pagination component - Hides pages when there is only one page #2043

Closed
muchenfine opened this issue Dec 27, 2021 · 3 comments · Fixed by #2727
Closed

pagination component - Hides pages when there is only one page #2043

muchenfine opened this issue Dec 27, 2021 · 3 comments · Fixed by #2727
Labels
feature request New feature or request pr welcome

Comments

@muchenfine
Copy link

This function solves the problem (这个功能解决的问题)

pagination component - Hides pages when there is only one page

Expected API (期望的 API)

pagination component - Hides pages when there is only one page

@github-actions github-actions bot added the feature request New feature or request label Dec 27, 2021
@07akioni
Copy link
Collaborator

07akioni commented Dec 27, 2021

I think v-if="pageCount > 1" or v-if="itemCount > 20" are okay.

Why this api is needed.

If you need it in data-table, i think we can add it for data-table.

@muchenfine
Copy link
Author

Hopefully, it can be added to make the component more user-friendly

@simpleAndElegant
Copy link

I am working on it

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request New feature or request pr welcome
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants