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;