From 2b89062fc74922e64ecfba459f63bf81ecfaf948 Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 28 Feb 2022 11:27:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- public/home/search.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/home/search.js b/public/home/search.js index 6359370ee..05770bd98 100644 --- a/public/home/search.js +++ b/public/home/search.js @@ -54,7 +54,7 @@ var currentSearchSortBy=""; var OnlySearchLabel=false; function searchItem(type,sortType){ - console.log("enter here."); + console.log("enter here 2."); currentSearchKeyword = document.getElementById("keyword_input").value; if(!isEmpty(currentSearchKeyword)){ currentPage = 1; @@ -69,7 +69,7 @@ function searchItem(type,sortType){ function search(){ - console.log("enter here."); + console.log("enter here 1."); currentSearchKeyword = document.getElementById("keyword_input").value; currentPage = 1; @@ -561,7 +561,8 @@ function page(current){ if (isEmpty(pageData)){ return; } - $('#page_total').text(pageData.Total); + console.log("currentPage=" + currentPage); + $('#page_total').text("共 " + pageData.Total + " 条"); if(currentPage > 1){ $('#startPage').removeClass("disabled"); $('#lastPage').removeClass("disabled");