mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-14 18:21:53 +08:00
feat: vue3 axios add download function
This commit is contained in:
@@ -30,7 +30,7 @@ export const deleteJobApi = (id: number) => {
|
||||
|
||||
// 导出定时任务调度
|
||||
export const exportJobApi = (params) => {
|
||||
return request.get({ url: '/infra/job/export-excel', params, responseType: 'blob' })
|
||||
return request.download({ url: '/infra/job/export-excel', params })
|
||||
}
|
||||
|
||||
// 任务状态修改
|
||||
|
Reference in New Issue
Block a user