Environment(required)
antd version:^2.7.1
OS and its version:mac os 10.12.3
Browser and its version:chrome 55.0.2883.95
What did you do? Please provide steps to re-produce your problem.
import React from eact;
import {Select, Input} from antd;
import classNames from classnames;
const Option = Select.Option;
export default class List extends ponent {
constructor(props) {
super(props);
this.state = {
data: [a, , c, d],
};
[
handleSelect,
].map(method => this[method] = this[method].bind(this));
}
handleSelect(value) {
this.setState({key: value});
setTimeout(() => {
this.setState({key: value});
下拉框触发单击事件_Select 点击下拉框触发onSelect / onChange 事件 在该事件中发请求得到结果后setState 这时候下拉框不消失 会重新弹出来。...