We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e35cec commit 4851d10Copy full SHA for 4851d10
components/tree-select/index.jsx
@@ -81,10 +81,10 @@ const TreeSelect = {
81
let newLabel = typeof label === 'function' ? label(this.$createElement) : label;
82
let newTitle = typeof title === 'function' ? title(this.$createElement) : title;
83
if (!newLabel && scopedSlots.label && $scopedSlots[scopedSlots.label]) {
84
- newLabel = $scopedSlots.label(item);
+ newLabel = $scopedSlots[scopedSlots.label](item);
85
}
86
if (!newTitle && scopedSlots.title && $scopedSlots[scopedSlots.title]) {
87
- newTitle = $scopedSlots.title(item);
+ newTitle = $scopedSlots[scopedSlots.title](item);
88
89
const treeNodeProps = {
90
...item,
0 commit comments