mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-14 10:11:53 +08:00
feat: vue3 axios add download function
This commit is contained in:
@@ -30,5 +30,5 @@ export const deleteTenantApi = (id: number) => {
|
||||
|
||||
// 导出租户
|
||||
export const exportTenantApi = (params) => {
|
||||
return request.get({ url: '/system/tenant/export-excel', params, responseType: 'blob' })
|
||||
return request.download({ url: '/system/tenant/export-excel', params })
|
||||
}
|
||||
|
Reference in New Issue
Block a user