修复前端通用导出方法参数传值请求方式问题

2.X
RuoYi 4 years ago committed by 疯狂的狮子li
parent 7034c422e9
commit fbb0786021

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

Loading…
Cancel
Save