-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tree] 节点拖拽功能希望支持限制部分节点禁止拖拽,拓展范围限制同级拖拽 #2444
Labels
Comments
👋 @jieyuming,感谢给 TDesign 提出了 issue。 |
|
同有这个需求 +1 |
这个需求能支持一下吗? |
同有这个需求 +1 |
@uyarn 大佬麻烦关注下这个需求 |
tree的开发同学这个月会排期来处理tree的相关需求 |
support |
请问vue3何时可以支持呢? |
这个问题,你不用就可以了,手搓一个tree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个功能解决了什么问题
目前tree组件支持通过draggable属性,设置节点可拖拽。实际场景是1级目录禁止拖拽,二级目录的拖拽的范围只能在同级目录(需要限制把三级目录拖到二级目录来)
你建议的方案是什么
需要tree组件能拓展能力,新增2个属性:
1.判断节点能否被拖拽
2.限制同级目录拓展
例如element plus支持
The text was updated successfully, but these errors were encountered: