mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-06 05:59:45 +08:00
!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:
parent
3197b135e4
commit
e303ed5105
@ -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'">
|
||||
|
@ -221,7 +221,7 @@ public partial class TreeView<TItem>
|
||||
await CheckExpand(Items);
|
||||
}
|
||||
|
||||
if (ShowCheckbox)
|
||||
if (ShowCheckbox && (AutoCheckParent || AutoCheckChildren))
|
||||
{
|
||||
// 开启 Checkbox 功能时初始化选中节点
|
||||
treeNodeCache.IsChecked(Items);
|
||||
|
Loading…
Reference in New Issue
Block a user