diff --git a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java index 3502447..1c4e8dc 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java @@ -107,7 +107,7 @@ public abstract class BaseExcelFileController extends BaseFileController { throw e; } // 绑定属性到model - dataMap.put("header", listener.getFieldHeadMap()); + dataMap.put("header", listener.getFieldHeaders()); dataMap.put(ORIGIN_FILE_NAME, fileName); dataMap.put(PREVIEW_FILE_NAME, newFileName); List dataList = listener.getDataList();