更新 'SrcJu.js'

Ju
src48597962 2 years ago
parent 62feed2d25
commit fd9a30a32b
  1. 4
      SrcJu.js

@ -752,7 +752,8 @@ function sousuo() {
}
//搜索接口
function search(keyword, mode, sdata, group, type) {
if(MY_PAGE==1 && mode=="sousuo" && getMyVar('SrcJuSearching')=="1"){
if(mode=="sousuo" && getMyVar('SrcJuSearching')=="1"){
if(MY_PAGE==1){
putMyVar("SrcJu_停止搜索线程", "1");
let waittime = 10;
for (let i = 0; i < waittime; i++) {
@ -764,6 +765,7 @@ function search(keyword, mode, sdata, group, type) {
java.lang.Thread.sleep(1000);
}
}
}
if(getMyVar('SrcJuSearching')=="1"){
toast("上次搜索线程还未结束,等等再来");
if(mode=="sousuotest"){

Loading…
Cancel
Save