更新 'SrcJySet.js'

master
src48597962 6 months ago
parent 5a67a1f423
commit e4140a3092
  1. 5
      SrcJySet.js

@ -1945,9 +1945,8 @@ function resource() {
if(newfiles.length==0){ if(newfiles.length==0){
return "toast://没有新增js" return "toast://没有新增js"
}else{ }else{
let addlist = newfiles.map(it=>{ let addlist = newfiles.map(extfile=>{
let name = it.split(".")[0]; let name = extfile.substr(extfile.lastIndexOf('/')+1).split(".")[0];
let extfile = it;
let arr = { "name": name, "type": "hipy_t3", "ext": extfile}; let arr = { "name": name, "type": "hipy_t3", "ext": extfile};
if(arr.name.includes('[搜]')){ if(arr.name.includes('[搜]')){
arr['onlysearch'] = 1; arr['onlysearch'] = 1;

Loading…
Cancel
Save