From b2c3ef12a694fa7ed3d328ac892cde6fff6b748f Mon Sep 17 00:00:00 2001 From: xingyu Date: Mon, 25 Jul 2022 21:04:40 +0800 Subject: [PATCH] =?UTF-8?q?vue3:=20=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90?= =?UTF-8?q?=E5=99=A8=E6=B7=BB=E5=8A=A0download=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/codegen/vue3/api/api.ts.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/api/api.ts.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/api/api.ts.vm index 537339eba..b37365a07 100644 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/api/api.ts.vm +++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/api/api.ts.vm @@ -31,5 +31,5 @@ export const deletePostApi = async (id: number) => { // 导出${table.classComment} Excel export const exportPostApi = async (params: ${simpleClassName}ExcelReqVO) => { - return await request.get({ url: '${baseURL}/export-excel', params, responseType: 'blob' }) + return await request.download({ url: '${baseURL}/export-excel', params }) }