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

Cascader 的 CascaderProps interface onChange 类型有误 #4231

Closed
hjin-me opened this issue Dec 13, 2016 · 1 comment · Fixed by #4232
Closed

Cascader 的 CascaderProps interface onChange 类型有误 #4231

hjin-me opened this issue Dec 13, 2016 · 1 comment · Fixed by #4232

Comments

@hjin-me
Copy link

hjin-me commented Dec 13, 2016

发生问题的环境是:

  • antd 版本: 2.5.2
  • 操作系统及其版本: Mac OS X, typescript 2.1.4
  • 浏览器及其版本: Chrome

您做了什么?请提供尽可能详细的重现步骤。

Cascader onChange 属性的 interface 有误导致编译出错

https://github.com/ant-design/ant-design/blob/master/components/cascader/index.tsx#L34

CascaderProps 的 onChange 方法第一个参数是一个数组,但是目前代码里面写的是 string

@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants