Commit 611d8c94 authored by yanzg's avatar yanzg

接口文档的支持

parent ac179d4f
...@@ -348,7 +348,7 @@ public class ExcelConsole<T extends Object> implements DbRow<T> { ...@@ -348,7 +348,7 @@ public class ExcelConsole<T extends Object> implements DbRow<T> {
} }
} }
if (column.getWidth() < 1) { if (column.getWidth() < 1) {
sheet.autoSizeColumn(columnPos, true); sheet.autoSizeColumn(columnPos);
} else { } else {
sheet.setColumnWidth(columnPos, getUnit(column.getWidth())); sheet.setColumnWidth(columnPos, getUnit(column.getWidth()));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment