-
Notifications
You must be signed in to change notification settings - Fork 383
[t-tree-select] 节点lable显示渲染逻辑问题 #3739
Copy link
Copy link
Open
Labels
🐞 bugSomething isn't workingSomething isn't working🧐 unconfirmedwaiting to be confirmedwaiting to be confirmed
Description
tdesign-vue 版本
1.14.1
重现链接
No response
重现步骤
当我想在t-tree-select给节点的显示添加特定样式时,我在data的来源数组中 name: i % 2 === 0 ? (h) => h('span', { style: 'color: red' }, 选项${i}) : 选项${i}, ,设置了multiple后,可以预期显示,但是在multiple 为false时,并没有按照我预期的显示,而是显示为了空
期望结果
支持自定义label渲染
实际结果
No response
框架版本
2.6.10
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐞 bugSomething isn't workingSomething isn't working🧐 unconfirmedwaiting to be confirmedwaiting to be confirmed