|
@@ -40,7 +40,7 @@ var recommendation = new Vue({
|
|
|
showPageBtn: function () {
|
|
|
let total = Math.ceil(this.listRecord / this.params.size);
|
|
|
total = total > 0 ? total : 1;
|
|
|
- let index = this.params.num, arr = [];
|
|
|
+ let index = Number(this.params.num), arr = [];
|
|
|
if (total <= 6) {
|
|
|
for (let i = 1; i <= total; i++) {
|
|
|
arr.push(i);
|