瀏覽代碼

主诉搜索

liucf 6 年之前
父節點
當前提交
9e9dd567f0
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/components/MainSuit/index.jsx

+ 4 - 4
src/components/MainSuit/index.jsx

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