diff --git a/src/CleanAdmin.Web.Client/Components/PTable.razor b/src/CleanAdmin.Web.Client/Components/PTable.razor index b84a3f0..9cf659b 100644 --- a/src/CleanAdmin.Web.Client/Components/PTable.razor +++ b/src/CleanAdmin.Web.Client/Components/PTable.razor @@ -31,7 +31,7 @@ { } @@ -176,6 +176,12 @@ ResetTableHeight(); } + private void ToggleSearchForm() + { + _searchFormVisible = !_searchFormVisible; + ResetTableHeight(); + } + private void ResetTableHeight() { _ = InvokeAsync(async () =>