更新 'SrcJySet.js'

master
src48597962 5 months ago
parent e6492eb62a
commit 02fdfb6d03
  1. 18
      SrcJySet.js

@ -530,6 +530,7 @@ function SRCSet() {
clearMyVar("批量检测_中止线程");
if(!getMyVar("批量检测_退出页面")){
if(failSourceList.length>0){
addItemAfter("testSource2", {
title: "批量删除失效",
url: $("#noLoading#").lazyRule((failnum) => {
@ -555,8 +556,9 @@ function SRCSet() {
id: "deleteAllFail"
}
})
storage0.putMyVar("批量检测_失败列表", failSourceList);
}
storage0.putMyVar("checkSourceList",checkSourceList);
updateItem("testSource", {
desc: "",
@ -566,6 +568,7 @@ function SRCSet() {
if(schedule=="3"){
putMyVar("批量检测_当前进度","0");
updateItem("schedule_er", {title:"👌二级选集"});
addItemAfter("testSource2", {
title: "针对失败源进行复检",
url: $("#noLoading#").lazyRule(() => {
@ -577,18 +580,25 @@ function SRCSet() {
}
})
let checkSourceList = storage0.getMyVar("checkSourceList") || [];
checkSourceList = checkSourceList.filter(v=recheckList.indexOf(v.url)>-1);
checkSourceList = checkSourceList.filter(v=>recheckList.indexOf(v.url)>-1);
if(checkSourceList.length==0){
deleteItem("recheckSource");
return "toast://没有需复检的源";
}
storage0.putMyVar("checkSourceList", checkSourceList);
clearMyVar("批量检测_失败列表");
clearMyVar("批量检测_当前进度");
refreshPage(true);
return "hiker://empty";
}),
col_type : "text_center_1"
col_type : "text_center_1",
extra: {
id: "recheckSource"
}
})
}else{
addItemAfter("testSource2", {
title: "进行下一项检测,最后再进行复检",
title: "进行下一项检测",
url: $("#noLoading#").lazyRule(() => {
let schedule = getMyVar("批量检测_当前进度","1");
if(schedule=="1"){

Loading…
Cancel
Save