Skip to content

Commit 9efb0ca

Browse files
authored
fix:Tree scopedSlots icon no work
1 parent a8e83b7 commit 9efb0ca

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
@@ -166,7 +166,7 @@ export default {
166166
...restProps,
167167
icon:
168168
$slots[slots.icon] ||
169-
($scopedSlots[scopedSlots.icon] && $scopedSlots[scopedSlots.icon]) ||
169+
($scopedSlots[scopedSlots.icon] && $scopedSlots[scopedSlots.icon](item)) ||
170170
restProps.icon,
171171
title:
172172
$slots[slots.title] ||

0 commit comments

Comments
 (0)