From 554113c423358b5ebcb9996512b07c4cb3e21037 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 21 Feb 2023 21:54:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyAlist.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyAlist.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SrcJyAlist.js b/SrcJyAlist.js index 076faa99..8dfafc1c 100644 --- a/SrcJyAlist.js +++ b/SrcJyAlist.js @@ -346,7 +346,7 @@ function arrayAdd(list,isdir,alistapi){ return contain.test(item.name); }) } - log(list) + list.forEach(item => { let path = ((item.parent=="/"?"":item.parent)||(typeof(MY_PARAMS)!="undefined"&&MY_PARAMS.path)||"") + "/" + item.name; if(isdir){ @@ -390,6 +390,7 @@ function arrayAdd(list,isdir,alistapi){ }) } }) + log(d) return d; }