更新 'SrcJyAliDisk.js'

master
src48597962 2 years ago
parent 64e10eaa40
commit 2892b424ff
  1. 14
      SrcJyAliDisk.js

@ -38,8 +38,10 @@ function aliShare(share_id, folder_id, share_pwd) {
return item.type == "file" && /srt|vtt|ass/.test(item.file_extension);
})
let d = [];
sharelist.forEach((item) => {
if (item.type == "folder") {
let dirlist = sharelist.filter((item) => {
return item.type == "folder";
})
dirlist.forEach((item) => {
d.push({
title: item.name,
img: "hiker://files/cache/src/文件夹.svg",//#noRecordHistory##noHistory#
@ -52,7 +54,12 @@ function aliShare(share_id, folder_id, share_pwd) {
dirname: item.name
}
})
} else if (item.type == "file") {
})
let filelist = sharelist.filter((item) => {
return item.type == "file";
})
filelist.sort(SortList);
filelist.forEach((item) => {
if (item.category == "video") {
let sub_file_id;
if (sublist.length == 1) {
@ -88,7 +95,6 @@ function aliShare(share_id, folder_id, share_pwd) {
}
})
}
}
})
setResult(d);
}

Loading…
Cancel
Save