diff --git a/SrcJuPublic.js b/SrcJuPublic.js index c05c35ca..3151d6cb 100644 --- a/SrcJuPublic.js +++ b/SrcJuPublic.js @@ -90,7 +90,7 @@ function selectSource(selectType) { sourcenames.push(it.name); } }) - if(sourcenames.length){ + if(sourcenames.length==0){ return "toast://当前分类无接口" } return $(sourcenames,3,"选择 "+selectType+" 主页源").select((runMode,sourcename,cfgfile,Juconfig) => {