From ed3c2513c35efa714f2a377aef55501dd15d1fec Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期一, 12 十月 2026 09:27:36 +0800
Subject: [PATCH] fix: 修改对话模块
---
src/api/axios.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/api/axios.js b/src/api/axios.js
index 894d8de..ffcf015 100644
--- a/src/api/axios.js
+++ b/src/api/axios.js
@@ -40,6 +40,13 @@
(response) => {
const body = response.data
+ // 璋冪敤鏂规樉寮忚姹傘�屽畬鏁村搷搴斻�嶆椂鐩存帴杩斿洖銆�
+ // 鍏稿瀷鍦烘櫙鏄枃浠朵笅杞斤細寤鸿鏂囦欢鍚嶅湪 Content-Disposition 鍝嶅簲澶撮噷锛�
+ // 鑰屼笅闈㈢殑瑙e寘閫昏緫鍙繑鍥� body锛屼細鎶婂搷搴斿ご涓�璧蜂涪鎺夈��
+ if (response.config && response.config.__returnFullResponse) {
+ return response
+ }
+
// 浜岃繘鍒跺搷搴旓紙鍥剧墖銆佹枃浠朵笅杞斤級鐩存帴杩斿洖 Blob/ArrayBuffer銆�
// 涓嶈兘璧颁笅闈㈢殑 Result 瑙e寘锛氬畠涓嶆槸 {code,msg,data} 缁撴瀯锛�
// 涓旇В鍖呴�昏緫浼氭妸瀹冨綋鎴愭櫘閫氬璞″鐞嗐��
--
Gitblit v1.9.1