更新 'SrcJySet.js'

master
src48597962 5 months ago
parent 798dd3e8be
commit 5fd64459af
  1. 20
      SrcJySet.js

@ -2086,6 +2086,26 @@ function manageSet(){
}),
col_type: 'text_icon'
});
d.push({
title: '本地代码运行',
img: getItem('本地代码运行')=="1"?getIcon("管理-开.svg"):getIcon("关.svg"),
url: $("#noLoading#").lazyRule(() => {
if(getItem('本地代码运行')=="1"){
clearItem('本地代码运行');
refreshPage();
}else{
if(fileExist("hiker://files/data/"+MY_RULE.title+"/libs/SrcJuying.js")){
setItem('本地代码运行','1');
refreshPage();
}else{
toast("本地依赖文件不存在,需要先下载");
}
}
return 'hiker://empty';
}),
col_type: 'text_icon'
});
d.push({
col_type: "line_blank"
});

Loading…
Cancel
Save