【修复】修复 读取excel纵表转置时一个越界bug
parent
1a8f2a5231
commit
28f5428472
|
|
@ -402,7 +402,7 @@ namespace Luban.Job.Cfg.DataSources.Excel
|
||||||
var row = new List<Cell>();
|
var row = new List<Cell>();
|
||||||
for (int j = 0; j < rows.Count; j++)
|
for (int j = 0; j < rows.Count; j++)
|
||||||
{
|
{
|
||||||
row.Add(i < rows[i].Count ? rows[j][i] : new Cell(j + 1, i, null));
|
row.Add(i < rows[j].Count ? rows[j][i] : new Cell(j + 1, i, null));
|
||||||
}
|
}
|
||||||
this._rowColumns.Add(row);
|
this._rowColumns.Add(row);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue