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

CheckList的on-change方法有问题,第二个参数label是undefined #2018

Closed
petersmu opened this issue Sep 21, 2017 · 0 comments
Closed

Comments

@petersmu
Copy link
Contributor

我用CheckList组件的时候,用的是对象数据,就是demo里面的这个
[
{key: '1', value: 'tiger is good', inlineDesc: 'Tiger is the king of mountain'},
{key: '2', value: 'lion is better', inlineDesc: 'Lion is the king of woods'},
{key: '3', value: 'camel is best, no inline-desc'}
]
然后我通过on-change来取值,文档里面写的是有两个参数,我打印出来label是undefined,value是得到的key值
image
版本是2.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants