test tree

This commit is contained in:
2023-05-18 08:17:29 +08:00
parent 9942139736
commit fd3eb2e065
4 changed files with 55 additions and 55 deletions

View File

@@ -182,7 +182,7 @@ const isChildAllSelected = computed(() => {
:class="{
'layui-tree-txt': true,
'layui-disabled': node.isDisabled,
'layui-this': selectedKey === node.id,
'layui-this': selectedKey === node.id || node.isChecked,
}"
@click.stop="handleTitleClick(node)"
>