Commit 2126f8d4 by Licx

读取Sheet名称时错误

parent 9e9168f0
......@@ -72,8 +72,8 @@ public List<ExcelSheetInfo> GetExcelSheetName(per_allot allot)
sheetNames.Add(new ExcelSheetInfo
{
Name = sheet.Name,
Row = sheet.Dimension.End.Row,
Column = sheet.Dimension.End.Column,
Row = sheet.Dimension?.End.Row ?? 0,
Column = sheet.Dimension?.End.Column ?? 0,
SheetType = sheetType,
ModuleName = EnumHelper.GetDescription(sheetType),
Version = version.ToString(),
......
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