Skip to content

fix(transfer): ensure nodes with empty children arrays render correctly #3535

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 2 commits into from
Apr 11, 2025

Conversation

RSS1102
Copy link
Collaborator

@RSS1102 RSS1102 commented Mar 12, 2025

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

💡 需求背景和解决方案

当前如果节点内 包含有 children:[] 时,这个节点都不会被渲染。

📝 更新日志

  • fix(transfer): 确保空 children 数组的节点能正确渲染

  • 本条 PR 不需要纳入 Changelog

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

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

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

Copy link

pkg-pr-new bot commented Mar 12, 2025

Open in Stackblitz

npm i https://pkg.pr.new/tdesign-vue@3535

commit: cbe2cc1

Copy link
Contributor

github-actions bot commented Mar 12, 2025

完成

@RSS1102 RSS1102 marked this pull request as draft March 12, 2025 20:35
@RSS1102 RSS1102 marked this pull request as ready for review March 19, 2025 03:34
@uyarn uyarn merged commit 024685f into Tencent:develop Apr 11, 2025
9 checks passed
@github-actions github-actions bot mentioned this pull request Apr 15, 2025
16 tasks
uyarn added a commit that referenced this pull request Apr 15, 2025
* chore: add default issue labels (#3539)

* chore: update snapshot since dependency bug fix (#3532)

* chore: update snapshot

* chore: update test case

* chore: update snapshot

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* ci(pkg-pr-new): add running conditions (#3541)

* feat(Icon): upgrade tdesign-icons-vue to 0.3.4 (#3546)

* feat(Icon): upgrade tdesign-icons-vue to 0.3.4

* chore: update snapshot

* docs(card): fix card api documentation text (#3548)

* test(Guide): mockDelay time changed from 60s to 200s (#3543)

* chore(vitest): filter log (#3542)

* docs(CONTRIBUTING): improve readability of development workflow section in CONTRIBUTING.md (#3552)

* 优化 CONTRIBUTING.md 内容

1. 添加tdesign-common仓库链接地址,避免在github搜索中浪费时间
2. 优化了一些表达内容,如:"遵循使用"显冗余,去除使用

* 优化 CONTRIBUTING.md 内容

1. 内容和DEVELOP_GUIDE.md 应一致

* docs: optimize usage tips (#3553)

* docs: 优化使用注意事项显示

* docs: 更新英文文档

* feat(Form): support right required mark (#3562)

* feat: support right required mark

* feat: usage

* fix(Select): remote search scene error (#3559)

* fix(Select): remote search scene error

* chore: update snapshot

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix(imageviewer): fix scale precision bug(#3563)

* fix(transfer): ensure nodes with empty children arrays render correctly (#3535)

* chore: upgrade vite to security version (#3564)

* feat(drawer): add DrawerPlugin (#3501)

* feat: drawerPlugin

* chore: className & Demo

* test: update

* fix(select): fix select keys props has content not work  (#3540)

* chore: update plugin prompt and docs content(#3506)

* chore: update plugin prompt

* chore: revert change

* chore: update site config

* chore: update helper

* chore(helper): remove t-typograph

* chore: update snapshot

* chore(helper): remove TTooltipLite

* chore: update message docs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Uyarn <[email protected]>

* chore: fix site build after upgrading to vite 4+ (#3567)

* chore: update snapshot

* chore: release 1.11.2-naruto

---------

Co-authored-by: 阿菜 Cai <[email protected]>
Co-authored-by: liweijie0812 <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: TDesign bot <[email protected]>
Co-authored-by: betavs <[email protected]>
Co-authored-by: Firebasky <[email protected]>
Co-authored-by: Wesley <[email protected]>
Co-authored-by: hello-ishine <[email protected]>
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.

2 participants