mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 21:50:05 +08:00
!3558 fix(#I630V4): update IsHideFooterWhenNoData logic
* chore: bump version 7.0.7-beta02 * fix: 修复 IsHideFooterWhenNoData 参数逻辑错误
This commit is contained in:
parent
7e0de043e6
commit
95936c98d4
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>7.0.7-beta01</Version>
|
||||
<Version>7.0.7-beta02</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
||||
|
@ -244,7 +244,7 @@
|
||||
}
|
||||
</DynamicElement>
|
||||
}
|
||||
@if (ShowFooter && !IsHideFooterWhenNoData)
|
||||
@if (IsShowFooter)
|
||||
{
|
||||
<div class="table-row table-footer">
|
||||
<CascadingValue Value="true" Name="IsMobileMode" IsFixed="true">
|
||||
@ -363,7 +363,7 @@
|
||||
}
|
||||
}
|
||||
</tbody>
|
||||
@if (ShowFooter && !IsHideFooterWhenNoData)
|
||||
@if (IsShowFooter)
|
||||
{
|
||||
<tfoot>
|
||||
<CascadingValue Value="false" Name="IsMobileMode" IsFixed="true">
|
||||
|
@ -123,6 +123,8 @@ public partial class Table<TItem> : ITable where TItem : class, new()
|
||||
|
||||
private static string? GetColspan(int colspan) => colspan > 1 ? colspan.ToString() : null;
|
||||
|
||||
private bool IsShowFooter => ShowFooter && (Rows.Any() || !IsHideFooterWhenNoData);
|
||||
|
||||
/// <summary>
|
||||
/// 获得/设置 列拷贝 Tooltip 文字
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user