【调整】调整cfg excel meta属性title_rows的语义,原来title_rows将多级标题头当作一行,现在简单统一为除了meta行和数据以外的标题行的行数

main
walon 2021-08-05 10:24:48 +08:00
parent e9279364b1
commit 714f731f99
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ namespace Luban.Job.Cfg.DataSources.Excel
else
{
// 删除所有标题行,包含字段名行、属性行、标题、描述等等非有效数据行
this._rowColumns.RemoveRange(0, Math.Min(TitleRows + titleRowNum - 1, this._rowColumns.Count));
this._rowColumns.RemoveRange(0, Math.Min(TitleRows, this._rowColumns.Count));
// 删除忽略的记录行
this._rowColumns.RemoveAll(row => DataUtil.IsIgnoreTag(GetRowTag(row)));
}