更新 'SrcJyMenu.js'

master
src48597962 2 years ago
parent e86c053c90
commit e2d5871890
  1. 16
      SrcJyMenu.js

@ -183,6 +183,22 @@ function lookset(){
}, JYconfig, cfgfile), }, JYconfig, cfgfile),
col_type: "text_2" col_type: "text_2"
}); });
d.push({
title: (JYconfig['yundiskLine']==1?getide(1):getide(0))+'云盘搜索',
url: $('#noLoading#').lazyRule((JYconfig,cfgfile) => {
if(JYconfig['yundiskLine'] != 1){
JYconfig['yundiskLine'] = 1;
putMyVar('yundiskLine','1');
}else{
JYconfig['yundiskLine'] = 0;
putMyVar('yundiskLine','0');
}
writeFile(cfgfile, JSON.stringify(JYconfig));
refreshPage(false);
return 'toast://'+JYconfig['alistLine']?'已开启云盘搜索线路':'已关闭云盘搜索线路';
}, JYconfig, cfgfile),
col_type: "text_2"
});
d.push({ d.push({
col_type: "line_blank" col_type: "line_blank"
}); });

Loading…
Cancel
Save