diff --git a/src/admin/Bootstrap.Admin/Pages/Components/TableBase.cs b/src/admin/Bootstrap.Admin/Pages/Components/TableBase.cs index 1b2ffd0e..7cf5c563 100644 --- a/src/admin/Bootstrap.Admin/Pages/Components/TableBase.cs +++ b/src/admin/Bootstrap.Admin/Pages/Components/TableBase.cs @@ -141,7 +141,7 @@ namespace Bootstrap.Admin.Pages.Components /// 获得/设置 是否分页组件 默认为 false /// [Parameter] - public bool ShowPagination { get; set; } + public bool ShowPagination { get; set; } = true; /// /// 获得/设置 是否显示工具栏 默认为 true diff --git a/src/admin/Bootstrap.Admin/Pages/Shared/EditPage.razor b/src/admin/Bootstrap.Admin/Pages/Shared/EditPage.razor index 12633ec6..9ed0be32 100644 --- a/src/admin/Bootstrap.Admin/Pages/Shared/EditPage.razor +++ b/src/admin/Bootstrap.Admin/Pages/Shared/EditPage.razor @@ -6,7 +6,7 @@ 查询结果
- +
@TableToolbarTemplate diff --git a/src/admin/Bootstrap.Admin/Pages/Shared/Pagination.razor b/src/admin/Bootstrap.Admin/Pages/Shared/Pagination.razor index 1e3b9a4a..38d536e1 100644 --- a/src/admin/Bootstrap.Admin/Pages/Shared/Pagination.razor +++ b/src/admin/Bootstrap.Admin/Pages/Shared/Pagination.razor @@ -3,17 +3,21 @@