mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +08:00
Merge branch 'master' of github.com:ant-design/ant-design
This commit is contained in:
commit
090afe0402
@ -62,7 +62,11 @@ class SearchInput extends React.Component {
|
||||
};
|
||||
|
||||
handleSearch = value => {
|
||||
fetch(value, data => this.setState({ data }));
|
||||
if (value) {
|
||||
fetch(value, data => this.setState({ data }));
|
||||
} else {
|
||||
this.setState({ data: [] });
|
||||
}
|
||||
};
|
||||
|
||||
handleChange = value => {
|
||||
|
@ -121,7 +121,7 @@
|
||||
|
||||
&-right {
|
||||
.@{timeline-prefix-cls}-item-content {
|
||||
width: calc(50% - 14px);
|
||||
width: calc(50% - 12px);
|
||||
margin: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user