From 9d59c4e2eec437b877249648893d311b988551bd Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 10 Aug 2024 21:21:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyPublic.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/SrcJyPublic.js b/SrcJyPublic.js index c05f27dc..453fe9d9 100644 --- a/SrcJyPublic.js +++ b/SrcJyPublic.js @@ -623,10 +623,11 @@ function selectSource() { pop.dismiss(); let input = s.replace(/[’‘]|<[^>]*>/g, ""); + /* if(tmpList[i].name==input){ - //Juconfig["homeSource"] = tmpList[i]; - //writeFile(cfgfile, JSON.stringify(Juconfig)); - /* + Juconfig["homeSource"] = tmpList[i]; + writeFile(cfgfile, JSON.stringify(Juconfig)); + clearMyVar('SrcJu_dianbo$分类'); clearMyVar('SrcJu_dianbo$fold'); clearMyVar('SrcJu_dianbo$classCache'); @@ -636,11 +637,12 @@ function selectSource() { let key = tmpList[i].url; setJkSort(key, 1); refreshPage(true); - */ + return 'toast://' + '主页源已设置为:' + input; }else{ return 'toast://源列表索引异常' } + */ }, menuClick(manage) { hikerPop.selectCenter({