feat: vue3 axios add download function

This commit is contained in:
xingyu
2022-07-25 21:03:14 +08:00
parent 611e11ae23
commit b085f35dfe
26 changed files with 48 additions and 37 deletions

View File

@ -9,5 +9,5 @@ export const getApiAccessLogPageApi = (params) => {
// 导出API 访问日志
export const exportApiAccessLogApi = (params) => {
return request.get({ url: '/infra/api-access-log/export-excel', params, responseType: 'blob' })
return request.download({ url: '/infra/api-access-log/export-excel', params })
}