更新 'SrcJyPublic.js'

master
src48597962 7 months ago
parent 66d50b7ea0
commit 9d59c4e2ee
  1. 10
      SrcJyPublic.js

@ -623,10 +623,11 @@ function selectSource() {
pop.dismiss(); pop.dismiss();
let input = s.replace(/[’‘]|<[^>]*>/g, ""); let input = s.replace(/[’‘]|<[^>]*>/g, "");
if(tmpList[i].name==input){
//Juconfig["homeSource"] = tmpList[i];
//writeFile(cfgfile, JSON.stringify(Juconfig));
/* /*
if(tmpList[i].name==input){
Juconfig["homeSource"] = tmpList[i];
writeFile(cfgfile, JSON.stringify(Juconfig));
clearMyVar('SrcJu_dianbo$分类'); clearMyVar('SrcJu_dianbo$分类');
clearMyVar('SrcJu_dianbo$fold'); clearMyVar('SrcJu_dianbo$fold');
clearMyVar('SrcJu_dianbo$classCache'); clearMyVar('SrcJu_dianbo$classCache');
@ -636,11 +637,12 @@ function selectSource() {
let key = tmpList[i].url; let key = tmpList[i].url;
setJkSort(key, 1); setJkSort(key, 1);
refreshPage(true); refreshPage(true);
*/
return 'toast://' + '主页源已设置为:' + input; return 'toast://' + '主页源已设置为:' + input;
}else{ }else{
return 'toast://源列表索引异常' return 'toast://源列表索引异常'
} }
*/
}, },
menuClick(manage) { menuClick(manage) {
hikerPop.selectCenter({ hikerPop.selectCenter({

Loading…
Cancel
Save