|
|
@ -44,7 +44,7 @@ function getlist(data,isdir) { |
|
|
|
return isdir ? item.is_dir : fileFilter?contain.test(item.name):item.is_dir==0; |
|
|
|
return isdir ? item.is_dir : fileFilter?contain.test(item.name):item.is_dir==0; |
|
|
|
}) |
|
|
|
}) |
|
|
|
list = list.sort((a,b)=>{ |
|
|
|
list = list.sort((a,b)=>{ |
|
|
|
return b.name - a.name; |
|
|
|
return b.name.replace(/[^\d]/g, " ") - a.name.replace(/[^\d]/g, " "); |
|
|
|
let oDate1 = new Date(a.modified); |
|
|
|
let oDate1 = new Date(a.modified); |
|
|
|
let oDate2 = new Date(b.modified); |
|
|
|
let oDate2 = new Date(b.modified); |
|
|
|
if(a.modified!=b.modified){ |
|
|
|
if(a.modified!=b.modified){ |
|
|
|