vue-pagination-bootstrap
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -50,3 +50,9 @@ export default { | ||
let _total = this._total / this._pageSize; | ||
return _total >= 1 ? _total : 1; | ||
if (_total < 1) | ||
return 1; | ||
if (_total % 1 != 0) | ||
return parseInt(_total + 1); | ||
return _total; | ||
}, | ||
@@ -53,0 +59,0 @@ array() { |
{ | ||
"name": "vue-pagination-bootstrap", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Server-side paging component in vue, template based on bootstrap", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6248
94