From efff5c8410c9657915eb05615c13c2de7421c61a Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 27 七月 2023 17:38:11 +0800
Subject: [PATCH] 修改文件下载不成功问题

---
 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