Skip to content
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

单列时数组数据结构问题 #8

Closed
gin280 opened this issue Aug 11, 2018 · 2 comments
Closed

单列时数组数据结构问题 #8

gin280 opened this issue Aug 11, 2018 · 2 comments

Comments

@gin280
Copy link

gin280 commented Aug 11, 2018

如果数据结构为
pickerValueArray: [
{ label: "住宿费", value: "a" },
{ label: "礼品费", value: "b" },
{ label: "活动费", value: "c" }
]时组件该怎么设置

@KuangPF
Copy link
Member

KuangPF commented Aug 11, 2018

目前单列和多列不支持键值对,如果是单列的话数据结构为

pickerValueArray: ['住宿费', '礼品费', '活动费', '通讯费', '补助']

下次迭代会考虑使用键值对的形式

@KuangPF
Copy link
Member

KuangPF commented Aug 19, 2018

v2.0.1 已支持

@KuangPF KuangPF closed this as completed Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants