zm-tree-org 数据量过大时,全部展开后,根节点点击收缩,树形消失
<zm-tree-org
ref="tree"
@on-expand="onExpand"
</zm-tree-org>
export default {
methods: {
onExpand(e, data) {
<!-- 当为根节点,且根节点为闭合时 -->
if (data.root === true && data.expand === false) {
console.log("expand: ", e)
console.log("expand: ", data)
console.log("expand:" + e.x + ',' + e.y)
<!-- 调用 zm-tree-org.common.js 中防止拖拽越界函数 -->
this.$refs.tree.onDragStop(e.x, e.y);
}
}
}
}





![[论文笔记]大模型微调数据配比策略](https://i-blog.csdnimg.cn/direct/06020c4d79d44c4081b8b5e79f38f889.png)











![[数据集][目标检测]轮胎缺陷检测数据集VOC+YOLO格式2154张4类别](https://i-blog.csdnimg.cn/direct/5aca09e6aa35438e8bbaad0f14eee84e.png)




