diff --git a/components/tree/Tree.jsx b/components/tree/Tree.jsx index eb05991795..37291922b1 100644 --- a/components/tree/Tree.jsx +++ b/components/tree/Tree.jsx @@ -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] ||