Browse Source

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

xiebaomin 1 year ago
parent
commit
cc01c0cde7
1 changed files with 1 additions and 1 deletions
  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);