|
@@ -249,16 +249,16 @@ class MainSuit extends Component{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// 延时关闭常见症状下拉、清空搜索结果,不延时会影响选中
|
|
// 延时关闭常见症状下拉、清空搜索结果,不延时会影响选中
|
|
- clearTimeout(this.state.clearTimer);
|
|
|
|
|
|
+ // clearTimeout(this.state.clearTimer);
|
|
const clearTimer = setTimeout(function(){
|
|
const clearTimer = setTimeout(function(){
|
|
clearSearch && clearSearch();
|
|
clearSearch && clearSearch();
|
|
// that.setState({
|
|
// that.setState({
|
|
// symptom:false
|
|
// symptom:false
|
|
// })
|
|
// })
|
|
},config.delayTime-200);
|
|
},config.delayTime-200);
|
|
- this.setState({
|
|
|
|
- clearTimer
|
|
|
|
- });
|
|
|
|
|
|
+ // this.setState({
|
|
|
|
+ // clearTimer
|
|
|
|
+ // });
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|