From d5e0e9783858c1773b6fd59f156c02a3ad53f27b Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 10 Jul 2024 10:47:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=88=86=E9=A1=B5=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/common/utils/excel/ExportExcel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/excel/ExportExcel.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/excel/ExportExcel.java index 32695a8..a07f21b 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/excel/ExportExcel.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/excel/ExportExcel.java @@ -182,7 +182,7 @@ public class ExportExcel { }else{ cell.setCellValue(headerList.get(i)); } - sheet.autoSizeColumn(i); + //sheet.autoSizeColumn(i); } for (int i = 0; i < headerList.size(); i++) { int colWidth = sheet.getColumnWidth(i)*2;