diff --git a/ruoyi-ui/src/utils/request.js b/ruoyi-ui/src/utils/request.js index ab58b2c1..743359ec 100644 --- a/ruoyi-ui/src/utils/request.js +++ b/ruoyi-ui/src/utils/request.js @@ -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