diff --git a/components/tree/Tree.jsx b/components/tree/Tree.jsx index 05623c5b9..60f833955 100644 --- a/components/tree/Tree.jsx +++ b/components/tree/Tree.jsx @@ -167,7 +167,7 @@ export default { $slots[slots.switcherIcon] || restProps.switcherIcon, title: - ($scopedSlots[scopedSlots.title] && $scopedSlots[scopedSlots.title](item)) || + $scopedSlots[scopedSlots.title] || $slots[slots.title] || restProps[replaceFields.title], dataRef: item,