From b6677fc916a1ea5ef841e69aa9b4f37b160ecb8b Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 31 Jan 2024 22:36:28 +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 | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/SrcJuPublic.js b/SrcJuPublic.js index fb56467e..1917dbcb 100644 --- a/SrcJuPublic.js +++ b/SrcJuPublic.js @@ -343,12 +343,17 @@ function getYiData(datatype,od) { } setResult(d); }else{ - d.push({ - title: "请先配置一个主页源\n设置-选择漫画/小说/听书/...", - desc: "设置长按菜单可以开启界面切换开关", - url: "hiker://empty", - col_type: "text_center_1", - }) + if(datatype=="主页"){ + d.push({ + title: "请先配置一个主页源...",//\n设置-选择漫画/小说/听书/ + desc: "点此或上面类型按钮都可选择",//设置长按菜单可以开启界面切换开关 + url: $('#noLoading#').lazyRule((input) => { + require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuPublic.js'); + return selectSource(input); + }, runMode), + col_type: "text_center_1", + }) + } setResult(d); } }