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

@@ -146,7 +146,7 @@ const _sfc_main$1 = defineComponent({
class: normalizeClass({
"layui-tree-txt": true,
"layui-disabled": node.isDisabled,
"layui-this": __props.selectedKey === node.id
"layui-this": __props.selectedKey === node.id || node.isChecked
}),
onClick: withModifiers(($event) => handleTitleClick(node), ["stop"])
}, [