We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d5fd1 commit d6ac381Copy full SHA for d6ac381
1 file changed
test/UnitTest/Components/TableTest.cs
@@ -899,8 +899,11 @@ public async Task ShowColumnList_Ok()
899
// 设置客户端存储
900
var state = new TableColumnClientStatus();
901
state.TableWidth = 500;
902
- state.Columns.Add(new TableColumnState() { Name = nameof(Foo.Name), Visible = false });
903
- state.Columns.Add(new TableColumnState() { Name = nameof(Foo.Address), Visible = true, Width = 120 });
+ state.Columns = new List<TableColumnState>()
+ {
904
+ new TableColumnState() { Name = nameof(Foo.Name), Visible = false },
905
+ new TableColumnState() { Name = nameof(Foo.Address), Visible = true, Width = 120 }
906
+ };
907
908
Context.JSInterop.Setup<TableColumnClientStatus>("getColumnStates", "test").SetResult(state);
909
var show = false;
0 commit comments