|
|
@ -652,14 +652,15 @@ function dianboyiji() { |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
let searchModeS = ["代理聚搜","分组接口","当前接口","当前页面"].map(v=>{ |
|
|
|
let searchModeS = ["代理聚搜","分组接口","当前接口","当前页面"].map(v=>{ |
|
|
|
return v==getItem("接口搜索方式","当前接口")?`‘‘’’<strong><font color="`+getItem('主题颜色','#6dc9ff')+`">`+v+`√</front></strong>`:v; |
|
|
|
return v==getItem("接口搜索方式","当前接口")?`‘‘’’<strong><font color="`+getItem('主题颜色','#6dc9ff')+`">`+v+`√</front></strong>`:v+' '; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
d.push({ |
|
|
|
d.push({ |
|
|
|
title: "搜索方式", |
|
|
|
title: "搜索方式", |
|
|
|
url: $(searchModeS,1).select(()=>{ |
|
|
|
url: $(searchModeS,1).select(()=>{ |
|
|
|
input = input.replace(/[’‘]|<[^>]*>|√/g, ""); |
|
|
|
input = input.replace(/[’‘]|<[^>]*>| |√/g, ""); |
|
|
|
setItem("接口搜索方式",input); |
|
|
|
setItem("接口搜索方式",input); |
|
|
|
|
|
|
|
refreshPage(); |
|
|
|
return "toast://搜索方式设置为:"+input; |
|
|
|
return "toast://搜索方式设置为:"+input; |
|
|
|
}), |
|
|
|
}), |
|
|
|
pic_url: getIcon("点播-搜索.svg"), |
|
|
|
pic_url: getIcon("点播-搜索.svg"), |
|
|
|