|
|
|
@ -167,6 +167,20 @@ function lookset(){ |
|
|
|
|
}, JYconfig, cfgfile), |
|
|
|
|
col_type: "text_2" |
|
|
|
|
}); |
|
|
|
|
d.push({ |
|
|
|
|
title: (JYconfig['alistLine']==1?getide(1):getide(0))+'Alist搜索', |
|
|
|
|
url: $('#noLoading#').lazyRule((JYconfig,cfgfile) => { |
|
|
|
|
if(JYconfig['alistLine'] != 1){ |
|
|
|
|
JYconfig['alistLine'] = 1; |
|
|
|
|
}else{ |
|
|
|
|
JYconfig['alistLine'] = 0; |
|
|
|
|
} |
|
|
|
|
writeFile(cfgfile, JSON.stringify(JYconfig)); |
|
|
|
|
refreshPage(false); |
|
|
|
|
return 'toast://切换成功'; |
|
|
|
|
}, JYconfig, cfgfile), |
|
|
|
|
col_type: "text_2" |
|
|
|
|
}); |
|
|
|
|
d.push({ |
|
|
|
|
col_type: "line_blank" |
|
|
|
|
}); |
|
|
|
|