From fae54caea1c4d931aa5d82fee76ee9583bc73ecc Mon Sep 17 00:00:00 2001 From: Argo-Tianyi Date: Sun, 9 Jan 2022 20:45:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=A4=9A=E9=80=89=E4=B8=8E=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=20Empty=20=E7=A9=BA=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BootstrapAdmin.Web/Components/AdminTable.razor | 4 ++-- .../Components/AdminTable.razor.cs | 12 ++++++++++++ .../BootstrapAdmin.Web/Pages/Admin/Healths.razor | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/blazor/admin/BootstrapAdmin.Web/Components/AdminTable.razor b/src/blazor/admin/BootstrapAdmin.Web/Components/AdminTable.razor index 5c042448..18773095 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Components/AdminTable.razor +++ b/src/blazor/admin/BootstrapAdmin.Web/Components/AdminTable.razor @@ -1,10 +1,10 @@ @typeparam TItem - + /// + /// + [Parameter] + public bool IsMultipleSelect { get; set; } = true; + /// /// /// @@ -82,6 +88,12 @@ namespace BootstrapAdmin.Web.Components [Parameter] public bool ShowToolbar { get; set; } = true; + /// + /// + /// + [Parameter] + public bool ShowEmpty { get; set; } = true; + /// /// /// diff --git a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Healths.razor b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Healths.razor index a940af46..75609ca8 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Healths.razor +++ b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Healths.razor @@ -11,8 +11,8 @@ - +