From 53950f0fa04a894a2b3880f2da788c837bd84ead Mon Sep 17 00:00:00 2001 From: ludc Date: 星期一, 27 十一月 2023 09:25:49 +0800 Subject: [PATCH] 修改码段拼接前后缀时判断码值是否为空,为空时不进行拼接 --- Source/UBCS-WEB/src/api/resource/file.js | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/Source/UBCS-WEB/src/api/resource/file.js b/Source/UBCS-WEB/src/api/resource/file.js index e9d0482..0af8963 100644 --- a/Source/UBCS-WEB/src/api/resource/file.js +++ b/Source/UBCS-WEB/src/api/resource/file.js @@ -40,14 +40,10 @@ return request({ url: '/api/ubcs-resource/fileController/downloadFilesByOids', method: 'post', -<<<<<<< HEAD - // headers:{'Content-Type':'application/x-www-form-urlencoded'}, - params: fileOids -======= headers:{'Content-Type':'application/x-www-form-urlencoded;charset=UTF-8'}, + responseType: 'blob', data: data ->>>>>>> 3e35833e70a7532d4ae8da0dcd905627230f2b2c }) } -- Gitblit v1.9.3