We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.14.1
window
2.6.12
https://codepen.io/hlfine/pen/rNMJpvV
Click the button
The property has been changed successfully and can be used normally
[Vue warn]: Invalid prop: type check failed for prop "size". Expected String with value "300", got Number with value 300.
found in
---> at packages/drawer/src/main.vue
The text was updated successfully, but these errors were encountered:
遇到了同样的问题,将数值300改为字符串"300px",符合期望成功渲染
Sorry, something went wrong.
同遇到,传入number不起作用,只能传入 ‘px’ 或者 ’%‘ 的string类型。
fixed
cs1707
No branches or pull requests
Element UI version
2.14.1
OS/Browsers version
window
Vue version
2.6.12
Reproduction Link
https://codepen.io/hlfine/pen/rNMJpvV
Steps to reproduce
Click the button
What is Expected?
The property has been changed successfully and can be used normally
What is actually happening?
[Vue warn]: Invalid prop: type check failed for prop "size". Expected String with value "300", got Number with value 300.
found in
---> at packages/drawer/src/main.vue
The text was updated successfully, but these errors were encountered: