问题修改

This commit is contained in:
zzyuan 2025-06-12 17:27:53 +08:00
parent a642d323c9
commit bb60ce1440
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@ export function download(url, params, filename, config) {
transformRequest: [(params) => { transformRequest: [(params) => {
return tansParams(params) return tansParams(params)
}], }],
headers: { 'Content-Type': 'application/x-www-form-urlencoded', encryptResponse: false}, // headers: { 'Content-Type': 'application/x-www-form-urlencoded', encryptResponse: false},
headers: { 'Content-Type': 'application/json', encryptResponse: false},
responseType: 'blob', responseType: 'blob',
...config ...config
}).then(async(data) => { }).then(async(data) => {