Skip to content

fix(List): empty child node cannot get child node props #3570

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

RSS1102
Copy link
Collaborator

@RSS1102 RSS1102 commented May 22, 2025

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

#3363
@HaixingOoO 帮我看看这部分需要处理 undefined / null 吗?

💡 需求背景和解决方案

📝 更新日志

  • fix(List): 空子节点导致获取子节点 props 失败

  • 本条 PR 不需要纳入 Changelog

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

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

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

Copy link

pkg-pr-new bot commented May 22, 2025

tdesign-react-demo

npm i https://pkg.pr.new/tdesign-react@3570

commit: 43223d8

Copy link
Contributor

github-actions bot commented May 22, 2025

完成

@uyarn
Copy link
Collaborator

uyarn commented May 22, 2025

这个diff不太对 整个文件都变diff了

@RSS1102 RSS1102 force-pushed the rss1102/fix/list/null-slot branch from 5f5ef81 to 43223d8 Compare May 22, 2025 07:52
@RSS1102
Copy link
Collaborator Author

RSS1102 commented May 22, 2025

这个diff不太对 整个文件都变diff了

已更新

@uyarn uyarn merged commit f49b3d4 into develop May 23, 2025
9 checks passed
@uyarn uyarn deleted the rss1102/fix/list/null-slot branch May 23, 2025 04:08
uyarn added a commit that referenced this pull request May 24, 2025
… is set(#3304)

* fix(form): fix form setFields rerender

* fix(List): empty child node cannot get child node `props` (#3570)

* fix(form): fix Form setFields some value not trigger onValueChange

* test(form): update setFields test case

---------

Co-authored-by: wū yāng <[email protected]>
Co-authored-by: 阿菜 Cai <[email protected]>
@github-actions github-actions bot mentioned this pull request May 30, 2025
16 tasks
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.

3 participants