更新 'SrcJyMenu.js'

master
src48597962 8 months ago
parent 9a8bef95c8
commit a3752fe682
  1. 15
      SrcJyMenu.js

@ -200,19 +200,16 @@ function lookset() {
col_type: "text_2" col_type: "text_2"
}); });
d.push({ d.push({
title: '嗅探方式:'+(parseRecord['video']?"video":"WebRule"), title: '嗅探方式:'+(parseRecord['video']!=0?"video":"WebRule"),
url: $('#noLoading#').lazyRule((parseRecord, recordfile) => { url: $('#noLoading#').lazyRule((parseRecord, recordfile) => {
let sm; if (parseRecord['video'] != 0) {
if(parseRecord['xiutannh'] == 'x5'){ parseRecord['video'] = 0;
parseRecord['xiutannh'] = 'web'; } else {
sm = 'web'; parseRecord['video'] = 1;
}else{
parseRecord['xiutannh'] = 'x5';
sm = 'x5';
} }
writeFile(recordfile, JSON.stringify(parseRecord)); writeFile(recordfile, JSON.stringify(parseRecord));
refreshPage(false); refreshPage(false);
return 'toast://嗅探内核切换为:'+sm; return 'toast://已切换';
}, parseRecord, recordfile), }, parseRecord, recordfile),
col_type: "text_2" col_type: "text_2"
}); });

Loading…
Cancel
Save