-
Notifications
You must be signed in to change notification settings - Fork 497
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
[TreeSelect] 自定义keys,选中项是变色的,但input框内是无label的。 #3724
Comments
👋 @travelCN,感谢给 TDesign 提出了 issue。 |
|
这不是一个bug, :keys="{ value: 'menuId', label: 'meta.title' }" 中 "'meta.title" 会被当成对象的属性来设置 "label" 的值, 就像这样: |
已经按照你们的格式修改好了,因为如果用在菜单使用上,必然会有嵌套。能兼容支持是最好的。 |
我不是他们团队的, 我是看了一下源码,才知道没有处理这块,我已经提了pr,用来兼容支持嵌套的形式,不过他们还没有回应 |
感谢。我是感觉文档不是很清晰。 |
tdesign-vue-next 版本
1.7.1
重现链接
No response
重现步骤
可以正常打印出value,就是label无法显示。tree上能很明显的选中状态
期望结果
可以正常使用
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: