mirror of
https://gitee.com/yudaocode/yudao-boot-mini.git
synced 2026-03-22 05:27:15 +08:00
fix:【infra 基础设施】vben 导出时,params 未传递的问题
This commit is contained in:
@@ -98,7 +98,7 @@ export function delete${simpleClassName}List(ids: number[]) {
|
||||
|
||||
/** 导出${table.classComment} */
|
||||
export function export${simpleClassName}(params: any) {
|
||||
return requestClient.download('${baseURL}/export-excel', params);
|
||||
return requestClient.download('${baseURL}/export-excel', { params });
|
||||
}
|
||||
|
||||
## 特殊:主子表专属逻辑
|
||||
|
||||
@@ -98,7 +98,7 @@ export function delete${simpleClassName}List(ids: number[]) {
|
||||
|
||||
/** 导出${table.classComment} */
|
||||
export function export${simpleClassName}(params: any) {
|
||||
return requestClient.download('${baseURL}/export-excel', params);
|
||||
return requestClient.download('${baseURL}/export-excel', { params });
|
||||
}
|
||||
|
||||
## 特殊:主子表专属逻辑
|
||||
|
||||
@@ -98,7 +98,7 @@ export function delete${simpleClassName}List(ids: number[]) {
|
||||
|
||||
/** 导出${table.classComment} */
|
||||
export function export${simpleClassName}(params: any) {
|
||||
return requestClient.download('${baseURL}/export-excel', params);
|
||||
return requestClient.download('${baseURL}/export-excel', { params });
|
||||
}
|
||||
|
||||
## 特殊:主子表专属逻辑
|
||||
|
||||
@@ -98,7 +98,7 @@ export function delete${simpleClassName}List(ids: number[]) {
|
||||
|
||||
/** 导出${table.classComment} */
|
||||
export function export${simpleClassName}(params: any) {
|
||||
return requestClient.download('${baseURL}/export-excel', params);
|
||||
return requestClient.download('${baseURL}/export-excel', { params });
|
||||
}
|
||||
|
||||
## 特殊:主子表专属逻辑
|
||||
|
||||
Reference in New Issue
Block a user