From 22cc8ce22157a32bfcd4ee14d824769c6e318cec Mon Sep 17 00:00:00 2001
From: p-honggang.li <p-honggang.li@pcitc.com>
Date: 星期一, 08 九月 2025 23:30:57 +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