fix: treeNode customTitle cannot get selected state #2006

pull/2112/head
tanjinzhou 2020-04-17 18:29:44 +08:00
parent 32f669bd48
commit 4a0d35fb92
1 changed files with 1 additions and 1 deletions

View File

@ -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,