mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-11 00:31:52 +08:00
feat: vue3 axios add download function
This commit is contained in:
@@ -29,5 +29,5 @@ export const deleteErrorCodeApi = (id: number) => {
|
||||
}
|
||||
// 导出错误码
|
||||
export const excelErrorCodeApi = (params) => {
|
||||
return request.get({ url: '/system/error-code/export-excel', params, responseType: 'blob' })
|
||||
return request.download({ url: '/system/error-code/export-excel', params })
|
||||
}
|
||||
|
Reference in New Issue
Block a user