fix: download query bug

pull/209/head
YunaiV 2025-09-02 09:42:21 +08:00
parent c25ea731fd
commit 160846b665
6 changed files with 12 additions and 18 deletions

View File

@ -70,10 +70,9 @@ export function deleteDemo03StudentList(ids: number[]) {
/** 导出学生 */
export function exportDemo03Student(params: any) {
return requestClient.download(
'/infra/demo03-student-erp/export-excel',
return requestClient.download('/infra/demo03-student-erp/export-excel', {
params,
);
});
}
// ==================== 子表(学生课程) ====================

View File

@ -72,10 +72,9 @@ export function deleteDemo03StudentList(ids: number[]) {
/** 导出学生 */
export function exportDemo03Student(params: any) {
return requestClient.download(
'/infra/demo03-student-inner/export-excel',
return requestClient.download('/infra/demo03-student-inner/export-excel', {
params,
);
});
}
// ==================== 子表(学生课程) ====================

View File

@ -72,10 +72,9 @@ export function deleteDemo03StudentList(ids: number[]) {
/** 导出学生 */
export function exportDemo03Student(params: any) {
return requestClient.download(
'/infra/demo03-student-normal/export-excel',
return requestClient.download('/infra/demo03-student-normal/export-excel', {
params,
);
});
}
// ==================== 子表(学生课程) ====================

View File

@ -70,10 +70,9 @@ export function deleteDemo03StudentList(ids: number[]) {
/** 导出学生 */
export function exportDemo03Student(params: any) {
return requestClient.download(
'/infra/demo03-student-erp/export-excel',
return requestClient.download('/infra/demo03-student-erp/export-excel', {
params,
);
});
}
// ==================== 子表(学生课程) ====================

View File

@ -72,10 +72,9 @@ export function deleteDemo03StudentList(ids: number[]) {
/** 导出学生 */
export function exportDemo03Student(params: any) {
return requestClient.download(
'/infra/demo03-student-inner/export-excel',
return requestClient.download('/infra/demo03-student-inner/export-excel', {
params,
);
});
}
// ==================== 子表(学生课程) ====================

View File

@ -72,10 +72,9 @@ export function deleteDemo03StudentList(ids: number[]) {
/** 导出学生 */
export function exportDemo03Student(params: any) {
return requestClient.download(
'/infra/demo03-student-normal/export-excel',
return requestClient.download('/infra/demo03-student-normal/export-excel', {
params,
);
});
}
// ==================== 子表(学生课程) ====================