Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1788/head
zouap 3 years ago
parent
commit
e4be873c0f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      public/home/search.js

+ 3
- 3
public/home/search.js View File

@@ -696,9 +696,9 @@ function page(current){
var html =""; var html ="";
console.log("currentPage=" + currentPage); console.log("currentPage=" + currentPage);
console.log("privateTotal=" + privateTotal); console.log("privateTotal=" + privateTotal);
if(totalPage==0){
return;
}
// if(totalPage==0){
// return;
// }
html += "<span class=\"item\">共 " + totalNum + " 条</span>" html += "<span class=\"item\">共 " + totalNum + " 条</span>"
if(currentPage > 1){ if(currentPage > 1){
html += "<a class=\"item navigation\" href=\"javascript:page(1)\"><span class=\"navigation_label\">首页</span></a>"; html += "<a class=\"item navigation\" href=\"javascript:page(1)\"><span class=\"navigation_label\">首页</span></a>";


Loading…
Cancel
Save