Browse Source

fix: Fix the continuous occurrence of {}{} filled templates in excel, causing rendering failure after the first one

developing
duanqiaoyanyu 3 years ago
parent
commit
38371a62bb
  1. 2
      src/main/java/com/alibaba/excel/write/executor/ExcelWriteFillExecutor.java

2
src/main/java/com/alibaba/excel/write/executor/ExcelWriteFillExecutor.java

@ -469,7 +469,7 @@ public class ExcelWriteFillExecutor extends AbstractExcelWriteExecutor {
lastPrepareDataIndex = suffixIndex + 1;
}
if (variableCount >= 1) {
if (variableCount > 1) {
analysisCell.setOnlyOneVariable(Boolean.FALSE);
}

Loading…
Cancel
Save