Created
January 4, 2022 09:57
-
-
Save 12cassie34/38bdafe1898edda1cde9321460a3362f to your computer and use it in GitHub Desktop.
Vue Pagination - Step2-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
computed: { | |
totalPages: function() { | |
return Math.ceil(this.dataAmount / this.itemsPerPage) | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment