diff --git a/src/Masa.Blazor/Components/Treeview/MTreeview.razor.cs b/src/Masa.Blazor/Components/Treeview/MTreeview.razor.cs index a297b89d55..c0716ec556 100644 --- a/src/Masa.Blazor/Components/Treeview/MTreeview.razor.cs +++ b/src/Masa.Blazor/Components/Treeview/MTreeview.razor.cs @@ -478,6 +478,7 @@ private void UpdateChildrenSelected(IEnumerable? children, bool isSelected { //control by parent nodeState.IsSelected = isSelected; + nodeState.IsIndeterminate = false; UpdateChildrenSelected(nodeState.Children, isSelected); } }