From 6701672fa774578810f539fb2fb3b083056f94de Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 9 Apr 2023 18:31:14 +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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 0ff71dfe..fb26914e 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -107,7 +107,6 @@ function sousuo() { setResult(d); java.lang.Thread.sleep(1000); search(name); - clearMyVar('SrcJuSousuo'); } //二级+源搜索 @@ -499,7 +498,7 @@ function erji() { //搜索接口 function search(name, sdata) { - if(getMyVar('SrcJuSearching')){ + if(getMyVar('SrcJuSearching')=="1"){ return "toast://上次搜索线程还未结束,等等再来" } let searchMark = storage0.getMyVar('searchMark') || {}; @@ -614,12 +613,13 @@ function search(name, sdata) { } let sousuosm = getMyVar('SrcJuSousuo') == "1" ? success + "/" + list.length + ",搜索完成" : "‘‘’’" + success + "/" + list.length + ",搜索完成"; updateItem(loadid, { title: sousuosm }) - clearMyVar('SrcJuSousuo'); - toast('搜源完成'); } else { - toast('无接口,未找到源'); + let sousuosm = "无接口"; + updateItem(loadid, { title: sousuosm }) } clearMyVar('SrcJuSearching'); + clearMyVar('SrcJuSousuo'); + clearMyVar('SrcJuSousuoTest'); hideLoading(); } }