|
|
@ -346,6 +346,7 @@ function arrayAdd(list,isdir,alistapi){ |
|
|
|
return contain.test(item.name); |
|
|
|
return contain.test(item.name); |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
log(list) |
|
|
|
list.forEach(item => { |
|
|
|
list.forEach(item => { |
|
|
|
let path = ((item.parent=="/"?"":item.parent)||(typeof(MY_PARAMS)!="undefined"&&MY_PARAMS.path)||"") + "/" + item.name;
|
|
|
|
let path = ((item.parent=="/"?"":item.parent)||(typeof(MY_PARAMS)!="undefined"&&MY_PARAMS.path)||"") + "/" + item.name;
|
|
|
|
if(isdir){ |
|
|
|
if(isdir){ |
|
|
@ -389,7 +390,6 @@ function arrayAdd(list,isdir,alistapi){ |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
log(d); |
|
|
|
|
|
|
|
return d; |
|
|
|
return d; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|