mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-10 20:57:10 +08:00
fix: 修复导出报 400 的问题
This commit is contained in:
@@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user