From 1ec1e9363ae89496bf161f07fde42c5e2e630b91 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 26 Nov 2024 15:38:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJySet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJySet.js | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/SrcJySet.js b/SrcJySet.js index 86e242a6..197a9951 100644 --- a/SrcJySet.js +++ b/SrcJySet.js @@ -1951,23 +1951,22 @@ function resource() { }) }); */ - if(getItem("sourceMode","1")=="1"){ - d.push({ - title: (importtype=="4"?"👉":"")+"drpy_js文件夹", - col_type: 'scroll_button', - url: $('#noLoading#').lazyRule(() => { - clearMyVar('importinput'); - putMyVar('importtype','4'); - refreshPage(false); - return "toast://此项仅支持js文件所在的路径"; - }) - }); - } + + d.push({ + title: (importtype=="4"?"👉":"")+"drpy_js文件夹", + col_type: 'scroll_button', + url: $('#noLoading#').lazyRule(() => { + clearMyVar('importinput'); + putMyVar('importtype','4'); + refreshPage(false); + return "toast://此项仅支持js文件所在的路径"; + }) + }); if(importtype=="1"){ if(getItem("sourceMode")=="2"){ d.push({ - title: '当前订阅地址:' + Juconfig['dySource'], + title: '当前订阅地址:' + (Juconfig['dySource'] || "无"), col_type: "rich_text", extra:{textSize:12} });