From e074c7aec260ee1b7eb081fd6264365564299873 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 16 Sep 2023 09:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuSet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuSet.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/SrcJuSet.js b/SrcJuSet.js index 5df3b6fa..58f70ce4 100644 --- a/SrcJuSet.js +++ b/SrcJuSet.js @@ -46,6 +46,18 @@ function SRCSet() { return "toast://已设置" }) }) + },{ + title: getItem("SrcJu_接口日志")?'关接口日志':'开接口日志', + js: $.toString(() => { + return $().lazyRule(() => { + if(getItem("SrcJu_接口日志")){ + clearItem("SrcJu_接口日志"); + }else{ + setItem("SrcJu_接口日志", "1"); + } + return "toast://已设置" + }) + }) }] } });