This commit is contained in:
parent
eb947c4b72
commit
7dac42f920
|
|
@ -193,7 +193,7 @@ export function downloadJson(url, params, filename, config) {
|
|||
downloadLoadingInstance = Loading.service({ text: "正在下载数据,请稍候", spinner: "el-icon-loading", background: "rgba(0, 0, 0, 0.7)", })
|
||||
return service.post(url, params, {
|
||||
transformRequest: [(params) => { return params }],
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
headers: { 'Content-Type': 'application/json', encryptResponse: false },
|
||||
responseType: 'blob',
|
||||
...config
|
||||
}).then(async (data) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue