zhouna hace 4 años
padre
commit
204261f223
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/js/searchStaticList.js

+ 1 - 1
src/js/searchStaticList.js

@@ -73,7 +73,7 @@ function getTabData(){
         const totalPage = data.pages;
         const totalNum = data.total;
         renderList(tabList);
-        if(totalPage > 1){
+        if(totalNum > 0){
             renderPagination(totalPage,Number(curPage),totalNum)
         } else{
             $('.pagination').html("")