Commit d51c7c48 authored by JoyJ's avatar JoyJ

fix: remove some console.log

parent 93961d3d
......@@ -142,8 +142,6 @@
let isSearching = false;
function continueLastSearch() {
console.log("continueLastSearch");
console.log("lastSearchFunc=" + lastSearchFunc.toString());
if (lastSearchFunc) {
lastSearchFunc(lastSearchParam, limit, nextPage);
}
......@@ -296,10 +294,6 @@
let scrollTop =document.documentElement.scrollTop ||document.body.scrollTop
let clientHeight =document.documentElement.clientHeight ||document.body.clientHeight
let scrollHeight =document.documentElement.scrollHeight ||document.body.scrollHeight
console.log('scrolled, top=' + scrollTop.toString());
console.log('scrolled, ch=' + clientHeight.toString());
console.log('scrolled, top+ch=' + (scrollTop +clientHeight).toString());
console.log('scrolled, sh=' + scrollHeight.toString());
if ((clientHeight >0 &&scrollTop >0) && (scrollTop +clientHeight > scrollHeight - 10.0)) {
//page+1重复上次搜索
continueLastSearch();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment