更新 'SrcJySet.js'

master
src48597962 6 months ago
parent 91a6728eb5
commit ba29eb4a69
  1. 8
      SrcJySet.js

@ -649,10 +649,12 @@ function jiekou(data) {
let apiurl = getMyVar('apiurl',''); let apiurl = getMyVar('apiurl','');
let apitype = getMyVar('apitype', ''); let apitype = getMyVar('apitype', '');
if(apiurl && apitype=="hipy_t3" && /^hiker|^file/.test(apiurl)){ if(apiurl && apitype=="hipy_t3" && /^hiker|^file/.test(apiurl)){
let code = fetch(apiurl); let code = getOriginalJs(fetch(apiurl));
writeFile(apiurl, getOriginalJs(code)); log(code);
log($.type(code));
writeFile(apiurl, code);
} }
return "editFile://" + apiurl + "@js=back();"; return "editFile://" + apiurl;// + "@js=back();"
}else{ }else{
return "toast://不存在,无法查看"; return "toast://不存在,无法查看";
} }

Loading…
Cancel
Save