소스 검색

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