Skip to content

Commit 4a0d35f

Browse files
committed
fix: treeNode customTitle cannot get selected state #2006
1 parent 32f669b commit 4a0d35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/tree/Tree.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default {
167167
$slots[slots.switcherIcon] ||
168168
restProps.switcherIcon,
169169
title:
170-
($scopedSlots[scopedSlots.title] && $scopedSlots[scopedSlots.title](item)) ||
170+
$scopedSlots[scopedSlots.title] ||
171171
$slots[slots.title] ||
172172
restProps[replaceFields.title],
173173
dataRef: item,

0 commit comments

Comments
 (0)