!3672 fix(#I66X16): set checkbox state use item value if set AutoCheckParent/AutoCheckChildren to false

* chore: bump version 7.1.9-beta02
* fix(#I66X16): 禁用自动设置时使用集合选中项
This commit is contained in:
Argo 2022-12-25 07:34:24 +00:00
parent 3197b135e4
commit e303ed5105
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>7.1.9-beta01</Version>
<Version>7.1.9-beta02</Version>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">

View File

@ -221,7 +221,7 @@ public partial class TreeView<TItem>
await CheckExpand(Items);
}
if (ShowCheckbox)
if (ShowCheckbox && (AutoCheckParent || AutoCheckChildren))
{
// 开启 Checkbox 功能时初始化选中节点
treeNodeCache.IsChecked(Items);