fix(module: descriptions): colspan calculates error (#911)

This commit is contained in:
Yuanxw 2020-12-22 10:24:09 +08:00 committed by GitHub
parent 5afafa35c3
commit 85256eb57c

View File

@ -43,7 +43,7 @@
<td class="ant-descriptions-item-label">
@if (item.item.TitleTemplate != null)@item.item.TitleTemplate else @item.item.Title
</td>
<td class="ant-descriptions-item-content" colspan="@item.realSpan * 2 - 1">
<td class="ant-descriptions-item-content" colspan="@(item.realSpan * 2 - 1)">
@item.item.ChildContent
</td>
}