From 9da541e99cc02d62e38085f212c1b8166f1ef94c Mon Sep 17 00:00:00 2001 From: Jerryplusy Date: Tue, 30 Sep 2025 23:57:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=9F=90=E4=BA=9B?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/login/lgr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/login/lgr.js b/lib/login/lgr.js index fccf383..e69f667 100644 --- a/lib/login/lgr.js +++ b/lib/login/lgr.js @@ -26,7 +26,7 @@ export default class LgrService { logger.error('[crystelf-admin] 未配置 lgr.basePath'); } const parentDir = path.dirname(this.basePath); - const targetDir = path.join(parentDir, String(qq)); + const targetDir = path.join(path.join(parentDir, '..'), String(qq)); if (!fs.existsSync(targetDir)) { try { await execAsync(`cp -r "${this.basePath}" "${targetDir}"`);