Skip to content

The way the tree control customizes the display content is too cumbersome #4256

@zealpane

Description

@zealpane
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

一般原始数据都是比较纯粹的数据。想要自定义树控件内部的显示内容,必须要对treeData的每一项遍历加上要求的属性,太繁琐。
为什么不提供一个系统默认的插槽呢?对树内部的自定义渲染会简化好多

What does the proposed API look like?

无论是通过render()函数,还是通过插槽,体验都好

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions