From d99a6a2c2d7b8e513ad8cbb8b7deef6a6d4be04a Mon Sep 17 00:00:00 2001 From: danaodai Date: Mon, 12 May 2025 06:35:59 +0000 Subject: [PATCH] =?UTF-8?q?fix(file/excel):=20=E4=BF=AE=E5=A4=8D=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=97=B6=E6=97=A0=E6=B3=95=E6=AD=A3=E7=A1=AE=E6=8D=95?= =?UTF-8?q?=E6=8D=89=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/top/continew/starter/file/excel/util/ExcelUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/continew-starter-file/continew-starter-file-excel/src/main/java/top/continew/starter/file/excel/util/ExcelUtils.java b/continew-starter-file/continew-starter-file-excel/src/main/java/top/continew/starter/file/excel/util/ExcelUtils.java index 0f3b74ec..bc3a844c 100644 --- a/continew-starter-file/continew-starter-file-excel/src/main/java/top/continew/starter/file/excel/util/ExcelUtils.java +++ b/continew-starter-file/continew-starter-file-excel/src/main/java/top/continew/starter/file/excel/util/ExcelUtils.java @@ -89,6 +89,7 @@ public class ExcelUtils { .doWrite(list); } catch (Exception e) { log.error("Export excel occurred an error: {}. fileName: {}.", e.getMessage(), fileName, e); + response.reset(); throw new BaseException("导出 Excel 出现错误"); } }