更新 'SrcJySet.js'

master
src48597962 5 months ago
parent 6266532de8
commit 06d6b41c98
  1. 8
      SrcJySet.js

@ -328,11 +328,12 @@ function SRCSet() {
function testSource(option) {
let sm = option=="yi"?"一级列表":option=="er"?"二级选集":"搜索结果"
return $("对待检源的" + sm + "进行较验,\n下次进入较验需等24小时!").confirm((option,sm) => {
if(getMyVar("批量较验_线程启动")=="1"){
return "toast://上一个任务还没有结束,请等待.";
}
putMyVar("checkSource_nexttime", "24");
putMyVar("批量较验_线程启动", "1");
clearMyVar("批量较验_停止线程");
updateItem("condition_yi", {url: "hiker://empty"});
updateItem("condition_er", {url: "hiker://empty"});
updateItem("condition_ss", {url: "hiker://empty"});
let duoselect = storage0.getMyVar("failSource") || storage0.getMyVar('SrcJu_duoselect') || [];
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyPublic.js');
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyData.js');
@ -463,6 +464,7 @@ function SRCSet() {
}else{
deleteItem("deletefailSource");
}
clearMyVar("批量较验_线程启动");
return "toast://测试结束";
}, option,sm)
}

Loading…
Cancel
Save