From 543433f64d491fe133b7a23363ff0ccacc3da07e Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 24 七月 2026 14:33:42 +0800
Subject: [PATCH] fix(upload): 修复文件上传时的请求头配置问题

---
 src/api/system/storage/index.ts |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/api/system/storage/index.ts b/src/api/system/storage/index.ts
index 95ad345..994d3ad 100644
--- a/src/api/system/storage/index.ts
+++ b/src/api/system/storage/index.ts
@@ -41,6 +41,7 @@
   return requestClient.post<SystemStorageApi.StorageBlob[]>(
     '/system/storage-blob/upload',
     formData,
+    { headers: { 'Content-Type': 'multipart/form-data' } },
   );
 }
 

--
Gitblit v1.9.3