mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 20:57:17 +08:00
fix: 修复导出报 400 的问题
This commit is contained in:
@@ -183,6 +183,9 @@ const download = (url: string, params?: object, config?: AxiosRequestConfig): Pr
|
||||
url,
|
||||
responseType: 'blob',
|
||||
params,
|
||||
paramsSerializer: (obj) => {
|
||||
return qs.stringify(obj)
|
||||
},
|
||||
...config
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user