Browse Source

数量显示

1178232204@qq.com 3 years ago
parent
commit
9bfa81cd70
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/js/cdss.js

+ 2 - 2
src/js/cdss.js

@@ -698,7 +698,7 @@ function renderDiagList(list, showNum) {
           <div class="moduleCenter"></div>
         </div>`
     }
-    str += `${list.length >= showNum ? `<p class="toogle">加载更多<img src=${more}/></p>` : ''} </div>`
+    str += `${list.length > showNum ? `<p class="toogle">加载更多<img src=${more}/></p>` : ''} </div>`
 
     $('.moduleItem.maydiagnose').append(str)
     $('.moduleItem.maydiagnose').css("display", "block")
@@ -750,7 +750,7 @@ function renderAffListList(list, showNum) {
           <div class="moduleCenter"></div>
         </div>`
     }
-    str += `${list.length >= showNum ? `<p class="toogle">加载更多<img src=${more}/></p>` : ''} </div>`
+    str += `${list.length > showNum ? `<p class="toogle">加载更多<img src=${more}/></p>` : ''} </div>`
 
     $('.moduleItem.hasdiagnose').append(str)
     $('.moduleItem.hasdiagnose').css("display", "block")