From 9753e9329ccd1e1c6279f36e41dc6adcce94dc38 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 1 Feb 2024 09:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuPublic.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SrcJuPublic.js b/SrcJuPublic.js index 2fd0723a..1a510703 100644 --- a/SrcJuPublic.js +++ b/SrcJuPublic.js @@ -89,6 +89,9 @@ function selectSource(selectType) { sourcenames.push(it.name); } }) + if(sourcenames.length){ + return "toast://当前分类无接口" + } return $(sourcenames,3,"选择 "+selectType+" 主页源").select((runMode,sourcename,cfgfile,Juconfig) => { input = input.replace(/‘|’|“|”|<[^>]+>/g,""); if(Juconfig["runMode"] == runMode && input==Juconfig[runMode+'sourcename']){