From 6e44c5316bb3c9654ffd3a7430055e6d6c708ebd Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 12 Apr 2023 13:02:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJu.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 87382420..6b43e99d 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -566,9 +566,10 @@ function search(keyword, mode, sdata) { log(MY_PAGE) let page = 1; if(mode=="sousuo"){ - if(MY_PAGE>1){ + if(MY_PAGE==1){ + clearMyVar('MY_PGAE'); + }else{ page = parseInt(getMyVar('MY_PGAE','1'))+1; - log(page) putMyVar('MY_PGAE',page); } }else if(mode=="sousuotest"){