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

feat(TreeSelect): recursively get values ​​of all parent nodes of the current node #2061

Merged
merged 5 commits into from
Feb 12, 2025

Conversation

RSS1102
Copy link
Contributor

@RSS1102 RSS1102 commented Feb 11, 2025

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

Tencent/tdesign-vue-next#5003

💡 需求背景和解决方案

📝 更新日志

  • feat(TreeSelect): 递归获取当前节点所有父节点的值

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@liweijie0812
Copy link
Collaborator

补点测试案例嘛

@RSS1102
Copy link
Contributor Author

RSS1102 commented Feb 11, 2025

补点测试案例嘛

已添加:
当前可传入两种方式:

  1. 选中节点的 value(可别名)
  2. 选中当前节点的所有数据(对象)(可别名)

对于之前的函数进行了对象过滤判断取值 value(可别名)

@tdesign-bot
Copy link
Collaborator

tdesign-bot commented Feb 11, 2025

TDesign Component Repositories CI Test Open

Component Lint Test Build
tdesign-vue
tdesign-vue-next
tdesign-react
tdesign-web-components
tdesign-mobile-vue
tdesign-mobile-react

@uyarn uyarn merged commit d9d38a8 into Tencent:develop Feb 12, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants