From 4a9b0cfe0c84e0dc5de57d7d250fa30803c864d1 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 24 Feb 2023 09:57:21 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SrcJyAlist.js b/SrcJyAlist.js index 99603e6d..c7b2b4ed 100644 --- a/SrcJyAlist.js +++ b/SrcJyAlist.js @@ -423,8 +423,8 @@ function alistList(alistapi,dirname){ let paths = MY_PARAMS.path.split('/'); let patht = MY_PARAMS.path.split('/'); for (let i = 0; i < paths.length-1; i++) { - patht.length=patht-i - log(patht.join('/')) + patht.length = patht.length-i; + log(patht.join('/')); } } }