Skip to content

[Cascader] 下拉选项为自定义 Node 时,元素的 title 有问题 #3439

@williammyuan

Description

@williammyuan

tdesign-react 版本

1.11.1

重现链接

https://ck9vtvmt.stackblitz.io

重现步骤

label定义为TNode节点时候,title显示出错
Image

期望结果

title可以自定义

实际结果

title直接取了lable进行显示,当lable不是string类型就会出错

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions