fix: 修复导出报 400 的问题

This commit is contained in:
2024-05-29 20:25:05 +08:00
parent 1909b6e907
commit 377a1ff1b7

View File

@@ -183,6 +183,9 @@ const download = (url: string, params?: object, config?: AxiosRequestConfig): Pr
url, url,
responseType: 'blob', responseType: 'blob',
params, params,
paramsSerializer: (obj) => {
return qs.stringify(obj)
},
...config ...config
}) })
} }