This commit is contained in:
parent
bbfcdc9c24
commit
e06985f423
|
|
@ -147,5 +147,6 @@ export const downloadTaskAPI = (url) => {
|
|||
url: `/bmw/zipDownload/downloadFile${url}`,
|
||||
method: 'GET',
|
||||
responseType: 'blob',
|
||||
isBlob: true,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,6 +83,10 @@ service.interceptors.request.use(
|
|||
? 'true'
|
||||
: 'false'
|
||||
|
||||
if (config.isBlob) {
|
||||
config.headers['encryptResponse'] = 'false'
|
||||
}
|
||||
|
||||
const isRepeatSubmit = repeatSubmit
|
||||
// 处理 Token
|
||||
if (getToken() && isToken) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue