[Vuejs]-VueJS pagination doesnt change data

0👍

Please look at slice, it has a return value. In your currentPage method assign the return value to the invites data property.

this.invites = this.invites.slice(start, end).reverse();

-1👍

You can set by this way too:

this.$set(this, 'invites', this.invites.slice(start, end).reverse());

Leave a comment