还原代码
This commit is contained in:
parent
bb60ce1440
commit
5b52073123
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue