-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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组件,怎么自定义数组显示? #2253
Comments
你还没配置
|
@edenleung 这个 |
下个版本支持 |
通过配置replaceFields: { title: 'deptName', key: 'id', value: 'id' }生效了,那么想问下reeNodeFilterProp, treeNodeLabelProp这两个字段的作用是什么 |
哥们,replaceFields: 这个生效了吗,我这边没有生效。。。版本升级到了1.6.1 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
1.6.0
Environment
macOS Sierra, Chrome, vue-antd-pro:2.1.0
Reproduction link
Steps to reproduce
TreeSelect
使用自定义的数组该怎么正常显示?
数据格式例如:
What is expected?
我期望它能够在下拉框中显示name值,并且在选择的时候修改this.data为选择的name对应ID值,
What is actually happening?
实际中,树状下拉框不显示name,只显示了
---
。The text was updated successfully, but these errors were encountered: