This commit is contained in:
落小梅 2021-10-12 11:48:48 +08:00
parent 2b59e008f3
commit bc8f53c535

View File

@ -167,6 +167,8 @@ const { innerTreeData, updateInnerTreeData, treeWrapperClass } = useTreeData(
emit emit
) )
console.log(emit)
function handleNodeClick(node: TreeNode) { function handleNodeClick(node: TreeNode) {
updateInnerTreeData(innerTreeData.value, node) updateInnerTreeData(innerTreeData.value, node)
const emitNode = getEmitNode(props.data!, node) const emitNode = getEmitNode(props.data!, node)