This commit is contained in:
BianLzhaoMin 2026-01-04 09:55:26 +08:00
parent bbfcdc9c24
commit e06985f423
2 changed files with 5 additions and 0 deletions

View File

@ -147,5 +147,6 @@ export const downloadTaskAPI = (url) => {
url: `/bmw/zipDownload/downloadFile${url}`,
method: 'GET',
responseType: 'blob',
isBlob: true,
})
}

View File

@ -83,6 +83,10 @@ service.interceptors.request.use(
? 'true'
: 'false'
if (config.isBlob) {
config.headers['encryptResponse'] = 'false'
}
const isRepeatSubmit = repeatSubmit
// 处理 Token
if (getToken() && isToken) {