fix: download query bug

This commit is contained in:
puhui999
2025-08-31 21:17:11 +08:00
parent 8e4f52c8aa
commit 71d2c380b3
38 changed files with 67 additions and 40 deletions

View File

@@ -55,5 +55,7 @@ export function deleteDemo01ContactList(ids: number[]) {
/** 导出示例联系人 */
export function exportDemo01Contact(params: any) {
return requestClient.download('/infra/demo01-contact/export-excel', params);
return requestClient.download('/infra/demo01-contact/export-excel', {
params,
});
}

View File

@@ -42,5 +42,7 @@ export function deleteDemo02Category(id: number) {
/** 导出示例分类 */
export function exportDemo02Category(params: any) {
return requestClient.download('/infra/demo02-category/export-excel', params);
return requestClient.download('/infra/demo02-category/export-excel', {
params,
});
}