更新 'SrcJyAlist.js'

master
src48597962 2 years ago
parent d06e9349bb
commit 377527c069
  1. 6
      SrcJyAlist.js

@ -38,7 +38,6 @@ function alistSet() {
}catch(e){ }catch(e){
var alistData= {drives:[]}; var alistData= {drives:[]};
} }
log(alistData);
var d = []; var d = [];
d.push({ d.push({
title: '接口管理', title: '接口管理',
@ -53,7 +52,6 @@ function alistSet() {
col_type: "icon_2" col_type: "icon_2"
}); });
if(getMyVar('alistguanli','jk')=="jk"){ if(getMyVar('alistguanli','jk')=="jk"){
let datalist = alistData.drives;
d.push({ d.push({
title: '增加', title: '增加',
url: $("","alist链接\n如:https://alist.abc.com").input((alistData, alistfile) => { url: $("","alist链接\n如:https://alist.abc.com").input((alistData, alistfile) => {
@ -89,7 +87,7 @@ function alistSet() {
hideLoading(); hideLoading();
return 'toast://链接无效'; return 'toast://链接无效';
} }
}, datalist, alistfile), }, alistData, alistfile),
img: "https://lanmeiguojiang.com/tubiao/more/25.png", img: "https://lanmeiguojiang.com/tubiao/more/25.png",
col_type: "icon_small_3" col_type: "icon_small_3"
}); });
@ -108,7 +106,7 @@ function alistSet() {
d.push({ d.push({
col_type: "line" col_type: "line"
}); });
let datalist = alistData.drives;
} }
setResult(d); setResult(d);
} }

Loading…
Cancel
Save