mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
docs: fix AutoComplete demo, close: #3077
This commit is contained in:
parent
b08a17d986
commit
1100acd26e
@ -24,7 +24,7 @@ const Complete = React.createClass({
|
||||
},
|
||||
handleChange(value) {
|
||||
this.setState({
|
||||
dataSource: [
|
||||
dataSource: !value ? [] : [
|
||||
value,
|
||||
value + value,
|
||||
value + value + value,
|
||||
|
Loading…
Reference in New Issue
Block a user