From e06985f42389973752953cdd821a17bb3c0dec2d Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Sun, 4 Jan 2026 09:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../construction-person/entry-and-exit-manage/person-entry.js | 1 + src/utils/request.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/api/construction-person/entry-and-exit-manage/person-entry.js b/src/api/construction-person/entry-and-exit-manage/person-entry.js index 44d86d0..558c045 100644 --- a/src/api/construction-person/entry-and-exit-manage/person-entry.js +++ b/src/api/construction-person/entry-and-exit-manage/person-entry.js @@ -147,5 +147,6 @@ export const downloadTaskAPI = (url) => { url: `/bmw/zipDownload/downloadFile${url}`, method: 'GET', responseType: 'blob', + isBlob: true, }) } diff --git a/src/utils/request.js b/src/utils/request.js index 9ec1f5d..1552a40 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -83,6 +83,10 @@ service.interceptors.request.use( ? 'true' : 'false' + if (config.isBlob) { + config.headers['encryptResponse'] = 'false' + } + const isRepeatSubmit = repeatSubmit // 处理 Token if (getToken() && isToken) {