fix:Tree scopedSlots icon no work (#1712)
parent
a8e83b7241
commit
e0d5f078f9
|
@ -166,7 +166,7 @@ export default {
|
|||
...restProps,
|
||||
icon:
|
||||
$slots[slots.icon] ||
|
||||
($scopedSlots[scopedSlots.icon] && $scopedSlots[scopedSlots.icon]) ||
|
||||
($scopedSlots[scopedSlots.icon] && $scopedSlots[scopedSlots.icon](item)) ||
|
||||
restProps.icon,
|
||||
title:
|
||||
$slots[slots.title] ||
|
||||
|
|
Loading…
Reference in New Issue