Skip to content
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

[TreeSelect]不同的父节点具有相同value叶子节点的情况,同时展开父节点时,视图上出现冲突 #2505

Closed
Irving1997 opened this issue Sep 12, 2023 · 4 comments
Assignees
Labels
need more info 需要更多信息理解 issue 的问题

Comments

@Irving1997
Copy link

重现链接

https://stackblitz.com/edit/react-y6tl7k?file=src%2Fdemo.jsx

重现步骤

1、为不同的父节点配置相同value的子节点
2、同时展开多个父节点时,相同value的子节点被过滤,仅在单个父节点下展示

期望结果

能将子节点展示完全

image

实际结果

子节点被过滤
image

Environment Info
相关版本 1.2.4
框架版本 / 基础库版本 React(17.0.2)
系统、浏览器 Chrome(115.0.5790.114)
Node版本
@github-actions
Copy link
Contributor

👋 @Irving1997,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

♥️ 有劳 @Hoofoo-WHU @honkinglin 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @Irving1997

@HaixingOoO
Copy link
Collaborator

image
我看了一下,data说明了value要设置为唯一值的(key),希望能帮到你!!!

@HaixingOoO
Copy link
Collaborator

@Irving1997 还有什么问题吗?

@HaixingOoO HaixingOoO added the need more info 需要更多信息理解 issue 的问题 label Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info 需要更多信息理解 issue 的问题
Projects
None yet
Development

No branches or pull requests

3 participants