style: remove not use code

pull/4598/head
tangjinzhou 3 years ago
parent 3a98c44356
commit c219e71ae9

@ -393,7 +393,7 @@ export default defineComponent({
icon: treeIcon,
draggable,
loadData,
slots: contextSlots,
// slots: contextSlots,
} = context.value;
const disabled = isDisabled.value;
const mergedDraggable = typeof draggable === 'function' ? draggable(data) : draggable;
@ -421,8 +421,8 @@ export default defineComponent({
let titleNode: any;
if (typeof title === 'function') {
titleNode = title(renderArgsData.value);
} else if (contextSlots.valuetitleRender) {
titleNode = contextSlots.valuetitleRender(renderArgsData.value);
// } else if (contextSlots.titleRender) {
// titleNode = contextSlots.titleRender(renderArgsData.value);
} else {
titleNode = title;
}

Loading…
Cancel
Save