From a31d87fbff5b4aadedc24a2a62a22399bc238648 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 7 Jul 2024 08:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuying.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuying.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SrcJuying.js b/SrcJuying.js index 12de0750..8ae0c0a9 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -620,9 +620,14 @@ function dianboyiji() { }] } }) + let searchModeS = ["代理聚搜","分组接口","当前接口","当前页面"].map(v=>{ + return v==getItem("接口搜索方式","当前接口")?"‘‘" + v + "’’":v; + }); + d.push({ title: "搜索方式", - url: $(["代理聚搜","分组接口","当前接口","当前页面"],1).select(()=>{ + url: $(searchModeS,1).select(()=>{ + input = input.replace(/[’‘]/g, ""); setItem("接口搜索方式",input); return "toast://搜索方式设置为:"+input; }),