Skip to content

Commit 1fb327a

Browse files
committed
revert: 撤销更改
1 parent 0bbbb21 commit 1fb327a

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

src/BootstrapBlazor.Server/Components/Samples/Table/TablesFilter.razor.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
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-
86
namespace 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

src/BootstrapBlazor/Components/Table/Table.razor.Edit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

0 commit comments

Comments
 (0)