|
|
|
@ -41,6 +41,7 @@ export default {
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
|
pages() {
|
|
|
|
pages() {
|
|
|
|
this.settleFinished = true;
|
|
|
|
this.settleFinished = true;
|
|
|
|
|
|
|
|
this.currentPage = 1;
|
|
|
|
return (this.perPage && this.perPage !== 0)
|
|
|
|
return (this.perPage && this.perPage !== 0)
|
|
|
|
? Math.ceil(this.items.length / this.perPage)
|
|
|
|
? Math.ceil(this.items.length / this.perPage)
|
|
|
|
: this.items.length
|
|
|
|
: this.items.length
|
|
|
|
|