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

radio组件options.value和v-model的值类型对应 #203

Closed
trague opened this issue May 16, 2018 · 0 comments
Closed

radio组件options.value和v-model的值类型对应 #203

trague opened this issue May 16, 2018 · 0 comments
Assignees
Labels

Comments

@trague
Copy link

trague commented May 16, 2018

Version

1.9.2

Reproduction link

https://didi.github.io/cube-ui/#/zh-CN/docs/radio

Steps to reproduce

radio.props.options[i].value 设置成Number报错

[Vue warn]: Invalid prop: type check failed for prop "value". Expected String, got Number.

What is expected?

文档说明radio组件 Props.options[i].value可以是[Number, String], 但是v-model绑定的value只能是String

What is actually happening?

不会出错

Dependencies Version

vue: 2.5.17-beta.0
better-scroll: 1.11.1

@tank0317 tank0317 self-assigned this May 16, 2018
@dolymood dolymood added the bug label May 17, 2018
dolymood added a commit that referenced this issue May 23, 2018
@dolymood dolymood self-assigned this May 23, 2018
hu0950 pushed a commit that referenced this issue Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants