-
Notifications
You must be signed in to change notification settings - Fork 170
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
[组件名称] t-picker 使用接口返回的数据赋值columns,confirm 无法获取到选中的值? #1712
Comments
👋 @hongsedefeng,感谢给 TDesign 提出了 issue。 |
@hongsedefeng 麻烦贴一下实际使用代码,或者提供可复现链接 |
是渲染的字段问题,使用label,value渲染就没问题,使用自定义的名称会出现。我转成label,value 就能正常返回选中的数据了。 |
明白了,我这边先尝试复现。 (希望提问时可以贴一下实际使用代码,降低我们的复现成本,也能提高修复效率~) |
好的,非常感谢您的回答 |
@hongsedefeng mobile vue 的 picker组件没有支持自定义 value / label 对应的字段名,目前只能限制内容为 label、value。 文档: https://tdesign.tencent.com/mobile-vue/components/picker?tab=api |
好的 |
tdesign-mobile-vue 版本
1.7.0
重现链接
No response
重现步骤
No response
期望结果
No response
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: