fix(component): treeselect
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user