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