From d7d48be4372342535ab0d2c4c140d770728b4b49 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 23 Apr 2023 10:22:03 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 81fce5a6..32514abf 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -73,8 +73,8 @@ function yiji() { } }) return $(sourcenames,2,"请选择主页源").select((runMode,sourcename,cfgfile,Juconfig) => { - if(input.includes(Juconfig[runMode+'sourcename'])){ - return 'toast://'+runMode+' 主页源未变化:' + input.replace(/‘|’|“|”|<[^>]+>/g,""); + if(Juconfig["runMode"] == runMode && input.includes(Juconfig[runMode+'sourcename'])){ + return 'toast://'+runMode+' 主页源:' + input.replace(/‘|’|“|”|<[^>]+>/g,""); } if (typeof (unRegisterTask) != "undefined") { unRegisterTask("juyue");