优化excel预览逻辑

This commit is contained in:
mazhicheng 2020-03-06 14:23:00 +08:00
parent f3cd640ab3
commit 8ab8ad20d9
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public abstract class BaseExcelFileController extends BaseFileController {
throw e;
}
// 绑定属性到model
dataMap.put("header", listener.getHeadMap());
dataMap.put("header", listener.getFieldHeadMap());
dataMap.put(ORIGIN_FILE_NAME, fileName);
dataMap.put(PREVIEW_FILE_NAME, newFileName);
List dataList = listener.getDataList();