Skip to content

[Tree] 支持 Size 属性,用于处理间距问题、大小问题 #2008

Open

Description

@ghostzhang

重现链接

https://tdesign.tencent.com/vue/components/tree

重现步骤

示例预览

期望结果

更紧凑的间距
image

实际结果

间距过大
image
image

Environment Info
相关版本 1.10.5
框架版本 / 基础库版本 vue/1.10.5
系统、浏览器 chrome 131.0.6778.86
Node版本

Activity

  1. github-actions commented on Dec 5, 2024

    @github-actions

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

  2. uyarn commented on Dec 23, 2024

    @uyarn
    Collaborator

    是的 这里需要去掉没有图标的占位

  3. uyarn commented on Dec 30, 2024

    @uyarn
    Collaborator

    transfer to common repo to track

  4. transferred this issue fromTencent/tdesign-vueon Dec 30, 2024
  5. github-actions commented on Dec 30, 2024

    @github-actions

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

  6. deleted a comment from github-actions on Dec 30, 2024
  7. uyarn commented on Dec 30, 2024

    @uyarn
    Collaborator

    改动点

    1. 无前置图标去掉图标占位,同时增加8px的默认间距
    WeChatWorkScreenshot_2a7e65e7-6590-4e22-b61a-c68ead033545
    1. 上下边距改为2px
    企业微信截图_ae932bee-88ef-45d0-909e-25598736c907
    1. 展开时图标不应跟随变换主题色

    2. 选中时操作图标颜色不应跟随变换主题色

  8. changed the title [-]【tree】节点无图标时缩进间距过大,上下节点的间距过大[/-] [+][Tree] 节点无图标时缩进间距问题/上下节点的间距过大问题/图标颜色问题[/+] on Dec 30, 2024
  9. deleted a comment from github-actions on Dec 30, 2024
  10. changed the title [-][Tree] 节点无图标时缩进间距问题/上下节点的间距过大问题/图标颜色问题[/-] [+][Tree] 支持 Size 属性,用于处理间距问题、大小问题[/+] on Jun 6, 2025
  11. github-actions commented on Jun 6, 2025

    @github-actions

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

  12. assigned and unassigned on Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions