From e2a8af8e2c70a17f1077802059299cb29fcf11a6 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 18 May 2023 15:41:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJu.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 9fc19dc1..4289d369 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -71,13 +71,14 @@ function yiji() { adminbtn.unshift("管理"); d.push({ title: "设置", - url: $(adminbtn, 1).select((runModes) => { + url: $(adminbtn, 1).select(() => { if(input=="管理"){ return $("hiker://empty#noRecordHistory##noHistory#").rule(() => { require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuSet.js'); SRCSet(); }) }else if(input=="模式"){ + require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuPublic.js'); return $(runModes,1,"切换模式").select((cfgfile,Juconfig) => { Juconfig["runMode"] = input; writeFile(cfgfile, JSON.stringify(Juconfig)); @@ -123,7 +124,7 @@ function yiji() { return 'toast://'+runMode+' 主页源已设置为:' + input; }, input, sourcename, cfgfile, Juconfig) } - },runModes), + }), pic_url: "https://lanmeiguojiang.com/tubiao/more/129.png", col_type: 'icon_5', extra: {