From 74348f96afe2b60296c57780bc8f367f54ee3298 Mon Sep 17 00:00:00 2001 From: icssoa <2570063477@qq.com> Date: Wed, 7 May 2025 00:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/upload/hooks/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/upload/hooks/index.ts b/src/plugins/upload/hooks/index.ts index 4d113c5..57b6b71 100644 --- a/src/plugins/upload/hooks/index.ts +++ b/src/plugins/upload/hooks/index.ts @@ -33,7 +33,7 @@ export function useUpload() { const ext = extname(file.name); // 文件名 - const name = filename(file.name) + '_' + fileId + ext; + const name = filename(file.name) + '_' + fileId + '.' + ext; // Key let key = isLocal ? name : pathJoin(prefixPath!, name);