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
1.3.6
vue 2.6.9; ant-design-vue: 1.3.6
在 1.3.6 版本 selectedKeys 设为数组时,控制台警告 selectedKeys 只能是 String 或 Number。在 1.3.5 版本则正常
selectedKeys 应该包含 array 类型,向下兼容
在 1.3.6 版本 selectedKeys 不支持数组类型,疑似是 dbc0b2e 提交造成, https://github.com/vueComponent/ant-design-vue/blob/master/components/menu/index.jsx 的24行 selectedKeys: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
The text was updated successfully, but these errors were encountered:
fix: Select selectedKeys type validation error [#597]
Select
selectedKeys
bd29880
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.
Sorry, something went wrong.
No branches or pull requests
Version
1.3.6
Environment
vue 2.6.9; ant-design-vue: 1.3.6
Reproduction link
Steps to reproduce
在 1.3.6 版本 selectedKeys 设为数组时,控制台警告 selectedKeys 只能是 String 或 Number。在 1.3.5 版本则正常
What is expected?
selectedKeys 应该包含 array 类型,向下兼容
What is actually happening?
在 1.3.6 版本 selectedKeys 不支持数组类型,疑似是 dbc0b2e 提交造成,
https://github.com/vueComponent/ant-design-vue/blob/master/components/menu/index.jsx 的24行
selectedKeys: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
The text was updated successfully, but these errors were encountered: