提交 d0b2ba95 编写于 作者: H hjdhnx

无修改

上级 3707438e
......@@ -10,6 +10,7 @@ import {sortListByCN} from 'https://gitcode.net/qq_32394351/dr_py/-/raw/master/l
server:'地址',
startPage:'/', //启动文件夹
showAll: false , //是否显示全部文件,默认false只显示 视频和文件夹
search: true, // 启用小雅的搜索,搜索只会搜第一个开启此开关的磁盘
params:{ //对应文件夹参数 如设置对应文件夹的密码
'/abc':{ password : '123' },
'/abc/abc':{ password : '123' },
......@@ -384,7 +385,7 @@ function detail(tid) {
} else {
if(isSearch&&!isFile){
return getAll(otid,tid,drives,path);
}else if(showMode==='all'){
}else if(showMode==='all'){ // 不管是搜索还是分类,只要不是 搜索到的文件夹,且展示模式为全部,都获取上级目录的所有文件
let new_tid = tid.split('/').slice(0,-1).join('/')+'/';
print(`全集模式 tid:${tid}=>tid:${new_tid}`);
let { drives, path } = get_drives_path(new_tid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册