From f4a5e6bbc4d8b1480e273171b5b4c826aef5fdb8 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 30 Aug 2024 18:05:25 +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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SrcJySet.js b/SrcJySet.js index dd743a45..f5faaf77 100644 --- a/SrcJySet.js +++ b/SrcJySet.js @@ -1827,7 +1827,7 @@ function resource() { return "toast://订阅本地包或在线的配置文件,但无法管理接口"; }) }); - if(getItem('hipy_t3_enable')=="1"){ + if(getItem('hipy_t3_enable')=="1" && getItem("sourceMode","1")=="1"){ d.push({ title: (importtype=="4"?"👉":"")+"drpy_js文件夹", col_type: 'scroll_button', @@ -1903,7 +1903,7 @@ function resource() { }); d.push({ - title: '🆗 '+(importtype=="3"?'确定订阅':'确定导入(' + (Juconfig["importmode"]?"全量":"增量")+')'), + title: '🆗 '+(importtype=="4"?'确定扫描':importtype=="3"?'确定订阅':'确定导入(' + (Juconfig["importmode"]?"全量":"增量")+')'), url: importtype=="1"&&getMyVar('importjiekou','1')!="1"&&getMyVar('importjiexi','1')!="1"?'toast://请选择导入项目':$('#noLoading#').lazyRule((Juconfig,cfgfile) => { let input = getMyVar('importinput', '').trim(); if(input==""){ @@ -2831,6 +2831,7 @@ function importConfirm(input) { let index2 = importlist.indexOf(importlist.filter(d => d.url==data.url)[0]); importlist.splice(index2, 1); storage0.putMyVar('importConfirm', importlist); + log(data.url); deleteItem(data.url); } return "toast://导入"+(num<0?"失败":num);