From 1f03935b8e3a67ab8e691a93905dcac231df5e26 Mon Sep 17 00:00:00 2001 From: tone <3341154833@qq.com> Date: Tue, 17 Jun 2025 17:01:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=B9=E9=87=8F=E5=88=A0?= =?UTF-8?q?=E9=99=A4object=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tone-page-web/lib/oss/OssStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tone-page-web/lib/oss/OssStore.ts b/tone-page-web/lib/oss/OssStore.ts index c8c1978..ac65864 100644 --- a/tone-page-web/lib/oss/OssStore.ts +++ b/tone-page-web/lib/oss/OssStore.ts @@ -88,7 +88,7 @@ export class OssStore { let failedCount = 0; for (const objectItem of objects) { - await this.deleteObject(objectItem.name).catch(e => failedCount++); + await this.deleteObject(objectItem.id).catch(e => failedCount++); } return { all: objects.length, failed: failedCount };