File tree Expand file tree Collapse file tree
BootstrapBlazor.Server/Components/Samples/Table
BootstrapBlazor/Components/Table Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33// See the LICENSE file in the project root for more information.
44// Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone
55
6- using System . Text . Json ;
7-
86namespace BootstrapBlazor . Server . Components . Samples . Table ;
97
108/// <summary>
@@ -50,12 +48,6 @@ private async Task<List<SelectedItem>> OnGetAddressItemsAsync()
5048
5149 private Task < QueryData < Foo > > OnQueryAsync ( QueryPageOptions options )
5250 {
53-
54- //增加filter,序列化测试通过
55- var json = JsonSerializer . Serialize ( options ) ;
56- options = JsonSerializer . Deserialize < QueryPageOptions > ( json ) ;
57-
58-
5951 // 通过 options 获得用户组合的过滤条件
6052 var filters = options . ToFilter ( ) ;
6153
Original file line number Diff line number Diff line change 1- // Licensed to the .NET Foundation under one or more agreements.
1+ // Licensed to the .NET Foundation under one or more agreements.
22// The .NET Foundation licenses this file to you under the Apache 2.0 License
33// See the LICENSE file in the project root for more information.
44// Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone
You can’t perform that action at this time.
0 commit comments