fix: directoryTree custom icon not work #3183
parent
642291790e
commit
8da63a6a24
|
@ -1 +1 @@
|
||||||
Subproject commit ff42f741de836c30b9a80d217d6ea72a0869b933
|
Subproject commit b24360cc91640d63e25b88bbecdb530823af8913
|
|
@ -240,6 +240,10 @@ export default defineComponent({
|
||||||
onExpand: this.handleExpand,
|
onExpand: this.handleExpand,
|
||||||
onCheck: this.handleCheck,
|
onCheck: this.handleCheck,
|
||||||
};
|
};
|
||||||
return <Tree {...treeProps}>{this.children}</Tree>;
|
return (
|
||||||
|
<Tree {...treeProps} v-slots={omit(this.$slots, ['default'])}>
|
||||||
|
{this.children}
|
||||||
|
</Tree>
|
||||||
|
);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue