diff --git a/src/BootstrapBlazor.Shared/Samples/Table/TablesSearch.razor b/src/BootstrapBlazor.Shared/Samples/Table/TablesSearch.razor index 38dcde653..b75928dc3 100644 --- a/src/BootstrapBlazor.Shared/Samples/Table/TablesSearch.razor +++ b/src/BootstrapBlazor.Shared/Samples/Table/TablesSearch.razor @@ -20,10 +20,10 @@ ShowToolbar="true" ShowSearch="true" IsMultipleSelect="true" ShowExtendButtons="true" AddModalTitle="增加测试数据窗口" EditModalTitle="编辑测试数据窗口" SearchModel="@SearchModel" ShowEmpty="true" SearchMode="SearchMode.Top" - OnQueryAsync="@OnQueryAsync" OnResetSearchAsync="@OnResetSearchAsync" + OnQueryAsync="@OnSearchModelQueryAsync" OnResetSearchAsync="@OnResetSearchAsync" OnAddAsync="@OnAddAsync" OnSaveAsync="@OnSaveAsync" OnDeleteAsync="@OnDeleteAsync"> - + @@ -35,7 +35,7 @@
- +
@@ -103,11 +103,11 @@ @{ var items = new List() - { - new SelectedItem { Text = "请选择 ...", Value = "" }, - new SelectedItem { Text = "姓名1", Value = "姓名1" }, - new SelectedItem { Text = "姓名2", Value = "姓名2" }, - }; + { + new SelectedItem { Text = "请选择 ...", Value = "" }, + new SelectedItem { Text = "姓名1", Value = "姓名1" }, + new SelectedItem { Text = "姓名2", Value = "姓名2" }, + };