|
|
@ -89,6 +89,9 @@ export function download(url, params, filename) { |
|
|
|
transformRequest: [(params) => { |
|
|
|
transformRequest: [(params) => { |
|
|
|
return tansParams(params) |
|
|
|
return tansParams(params) |
|
|
|
}], |
|
|
|
}], |
|
|
|
|
|
|
|
headers: { |
|
|
|
|
|
|
|
'Content-Type': 'application/x-www-form-urlencoded' |
|
|
|
|
|
|
|
}, |
|
|
|
responseType: 'blob' |
|
|
|
responseType: 'blob' |
|
|
|
}).then((data) => { |
|
|
|
}).then((data) => { |
|
|
|
const content = data |
|
|
|
const content = data |
|
|
|