Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liaochong committed Dec 16, 2023
1 parent 92730f2 commit 143123c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ private void receive() {
if (this.workbook == null) {
workbookType(WorkbookType.SXLSX);
}
// 构建名称管理器
this.createNameManager();
if (isHssf) {
maxRowCountOfSheet = XLS_MAX_ROW_COUNT;
}
Expand Down Expand Up @@ -181,6 +179,8 @@ private void receive() {
}
sheet.setColumnWidth(key, contentLength << 8);
});
// 构建名称管理器
this.createNameManager();
int totalSize = 0;
while (tr != STOP_FLAG) {
if (context.capacity > 0 && count == context.capacity) {
Expand Down

0 comments on commit 143123c

Please sign in to comment.