fix(component): treeselect

This commit is contained in:
zhangheng
2026-05-14 14:12:28 +08:00
parent c6dfd506b3
commit 781b002a7b

View File

@@ -265,11 +265,11 @@ export function VirtualTreeSelect(props: VirtualTreeSelectProps) {
align="center" align="center"
gap={12} gap={12}
flex={1} flex={1}
onClick={ // onClick={
selectable // selectable
? () => handleNodeSelect(node.value, hasChildren) // ? () => handleNodeSelect(node.value, hasChildren)
: undefined // : undefined
} // }
style={{ style={{
cursor: selectable ? "pointer" : "default", cursor: selectable ? "pointer" : "default",
minWidth: 0, minWidth: 0,