From c60e588944ffbe400cb1f82a00f49df49eec81cf Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 20 九月 2023 20:28:48 +0800
Subject: [PATCH] 引用码段-JSON.parse问题处理

---
 Source/UBCS-WEB/src/api/resource/file.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/resource/file.js b/Source/UBCS-WEB/src/api/resource/file.js
index ef26a06..0af8963 100644
--- a/Source/UBCS-WEB/src/api/resource/file.js
+++ b/Source/UBCS-WEB/src/api/resource/file.js
@@ -41,6 +41,7 @@
     url: '/api/ubcs-resource/fileController/downloadFilesByOids',
     method: 'post',
     headers:{'Content-Type':'application/x-www-form-urlencoded;charset=UTF-8'},
+    responseType: 'blob',
     data: data
 
   })

--
Gitblit v1.9.3