Skip to content

Commit

Permalink
perf(TreeView): imporve render performance of TreeView ClearCheckedIt…
Browse files Browse the repository at this point in the history
…ems (#3936)

* refactor: 更新 TreeView 更新逻辑

* chore: bump version 8.7.4
  • Loading branch information
ArgoZhang authored Jul 27, 2024
1 parent 488c637 commit d1222f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>8.7.4-beta07</Version>
<Version>8.7.4</Version>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
Expand Down
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/Components/TreeView/TreeView.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,8 @@ public void ClearCheckedItems()
s.CheckedState = CheckboxState.UnChecked;
TreeNodeStateCache.ToggleCheck(s);
});
StateHasChanged();
});
StateHasChanged();
}

/// <summary>
Expand Down

0 comments on commit d1222f7

Please sign in to comment.