From 349091f54dab47b15ca81613f02765490a2ce7d0 Mon Sep 17 00:00:00 2001
From: p-honggang.li <p-honggang.li@pcitc.com>
Date: 星期四, 11 九月 2025 10:50:36 +0800
Subject: [PATCH] 修改买家中心卖家中心产品类型等条件查询问题

---
 src/utils/axios.ts |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/utils/axios.ts b/src/utils/axios.ts
index c4cacaf..784aefe 100644
--- a/src/utils/axios.ts
+++ b/src/utils/axios.ts
@@ -98,6 +98,10 @@
       if (config.url?.includes('common/filePreview')) {
         return response
       }
+      const isFile = response.headers['content-type'] === 'application/octet-stream'
+      if(isFile) {
+        return response
+      }
       if (response.data && response.data.code == 200) {
         return response.data
       } else {

--
Gitblit v1.8.0