Browse Source

Update pagination, fix #1306

pull/1333/head
Hironsan 3 years ago
parent
commit
8b7e87b86c
1 changed files with 6 additions and 0 deletions
  1. 6
      frontend/components/tasks/toolbar/buttons/ButtonPagination.vue

6
frontend/components/tasks/toolbar/buttons/ButtonPagination.vue

@ -113,9 +113,15 @@ export default Vue.extend({
this.$emit('click:jump', page) this.$emit('click:jump', page)
}, },
prevPage() { prevPage() {
if (this.value === 1) {
return
}
this.$emit('click:prev') this.$emit('click:prev')
}, },
nextPage() { nextPage() {
if (this.value === this.total) {
return
}
this.$emit('click:next') this.$emit('click:next')
}, },
firstPage() { firstPage() {

Loading…
Cancel
Save