更新 'SrcJuying.js'

pull/1/head
src48597962 2 years ago
parent bb7a82f035
commit d300f71fa7
  1. 6
      SrcJuying.js

@ -67,16 +67,16 @@ function jiekouyiji() {
let grouplist = [];
datalist.forEach(item=>{
let groupname = item.group||item.type;
if(/app|v1|v2|iptv|cms/.test(item.type)&&grouplist.indexOf(groupname)==-1){
if(/app|v1|v2|iptv|cms/.test(item.type)&&grouplist.indexOf(groupname)==-1&&api_group!="失败待处理"){
grouplist.push(groupname);
}
})
datalist = datalist.filter(item => {
if(api_group){
return /app|v1|v2|iptv|cms/.test(item.type) && (item.group==api_group || !item.group&&item.type==api_group)
return /app|v1|v2|iptv|cms/.test(item.type) && (item.group==api_group || !item.group&&item.type==api_group) && api_group!="失败待处理"
}else{
return /app|v1|v2|iptv|cms/.test(item.type);
return /app|v1|v2|iptv|cms/.test(item.type) && api_group!="失败待处理";
}
})
if(datalist.length>0){

Loading…
Cancel
Save