RuoYi
2020-09-17 15a4a5350d6db5b158aef28e9eb65fe950af18e2
修复前端通用导出方法参数传值请求方式问题
1 files modified
3 ■■■■■ changed files
ruoyi-ui/src/utils/request.js 3 ●●●●● patch | view | raw | blame | history
ruoyi-ui/src/utils/request.js
@@ -89,6 +89,9 @@
    transformRequest: [(params) => {
      return tansParams(params)
    }],
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
    },
    responseType: 'blob'
  }).then((data) => {
    const content = data