فهرست منبع

fixed:信息平台美业资料显示

xiebaomin 1 سال پیش
والد
کامیت
cc01c0cde7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/resources/static/js/article/recommendation.js

+ 1 - 1
src/main/resources/static/js/article/recommendation.js

@@ -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);