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"
gap={12}
flex={1}
onClick={
selectable
? () => handleNodeSelect(node.value, hasChildren)
: undefined
}
// onClick={
// selectable
// ? () => handleNodeSelect(node.value, hasChildren)
// : undefined
// }
style={{
cursor: selectable ? "pointer" : "default",
minWidth: 0,