mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 02:25:06 +08:00
feat: vue3 axios add download function
This commit is contained in:
@ -34,5 +34,5 @@ export const deletePostApi = async (id: number) => {
|
||||
|
||||
// 导出岗位
|
||||
export const exportPostApi = async (params) => {
|
||||
return await request.get({ url: '/system/post/export', params, responseType: 'blob' })
|
||||
return await request.download({ url: '/system/post/export', params })
|
||||
}
|
||||
|
Reference in New Issue
Block a user