diff --git a/src/admin/Bootstrap.Admin/Components/EditPageBase.cs b/src/admin/Bootstrap.Admin/Components/EditPageBase.cs index 185ec4c9..4f8c561b 100644 --- a/src/admin/Bootstrap.Admin/Components/EditPageBase.cs +++ b/src/admin/Bootstrap.Admin/Components/EditPageBase.cs @@ -78,6 +78,12 @@ namespace Bootstrap.Admin.Components [Parameter] public RenderFragment? EditTemplate { get; set; } + /// + /// 获得/设置 是否固定表头 默认为 false 不固定表头 + /// + [Parameter] + public bool FixedHeader { get; set; } + /// /// 获得/设置 Table 实例 /// diff --git a/src/admin/Bootstrap.Admin/Components/TableBase.cs b/src/admin/Bootstrap.Admin/Components/TableBase.cs index d5dfaa09..1012cb72 100644 --- a/src/admin/Bootstrap.Admin/Components/TableBase.cs +++ b/src/admin/Bootstrap.Admin/Components/TableBase.cs @@ -60,6 +60,24 @@ namespace Bootstrap.Admin.Components [Parameter] public RenderFragment? TableFooter { get; set; } + /// + /// 获得/设置 是否固定表头 默认为 false 不固定表头 + /// + [Parameter] + public bool FixedHeader { get; set; } + + /// + /// 获得/设置 是否自适应高度 默认为 false 不自适应高度 + /// + [Parameter] + public bool AutoHeight { get; set; } + + /// + /// 获得/设置 是否显示搜索框 默认为 false 不显示搜索框 + /// + [Parameter] + public bool ShowSearch { get; set; } + /// /// 获得/设置 数据集合 /// diff --git a/src/admin/Bootstrap.Admin/Pages/Admin/Dicts.razor b/src/admin/Bootstrap.Admin/Pages/Admin/Dicts.razor index dd8c55c3..94567e6c 100644 --- a/src/admin/Bootstrap.Admin/Pages/Admin/Dicts.razor +++ b/src/admin/Bootstrap.Admin/Pages/Admin/Dicts.razor @@ -1,6 +1,6 @@ @inherits DictsBase - +