vue自定义树形组件,如何实现这种特殊的连线?-灵析社区

无敌奥特MEN

DOM 节点结构设计问题 连接线分为横向连接线跟纵向连接线 可以设计在一起,比如 ztree、antDesign tree ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/e640281b64dc8a80338e3f5334b6a834.png) ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/d30f164038e8efb3e38da2937d0013be.png) ,也可以分成两个dom 放在节点内部跟外部 ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/222763b9ed20ab6b0e49196d03618d9b.png) ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/9ae4b06bb53958cb52a5ddf03b252678.png)

阅读量:1

点赞量:0

问AI