还原代码

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

View File

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