feat: tree support global tree slot (#2904)
parent
caea1acfbe
commit
51fb7cd888
|
@ -161,7 +161,11 @@ export default {
|
||||||
$slots[scopedSlots.switcherIcon] ||
|
$slots[scopedSlots.switcherIcon] ||
|
||||||
$slots[slots.switcherIcon] ||
|
$slots[slots.switcherIcon] ||
|
||||||
restProps.switcherIcon,
|
restProps.switcherIcon,
|
||||||
title: $slots[scopedSlots.title] || $slots[slots.title] || restProps[replaceFields.title],
|
title:
|
||||||
|
$slots[scopedSlots.title] ||
|
||||||
|
$slots[slots.title] ||
|
||||||
|
$slots.title ||
|
||||||
|
restProps[replaceFields.title],
|
||||||
dataRef: item,
|
dataRef: item,
|
||||||
key,
|
key,
|
||||||
class: cls,
|
class: cls,
|
||||||
|
|
Loading…
Reference in New Issue