Ver código fonte

7698检验辅捡聚焦调2次推送

zhouna 4 anos atrás
pai
commit
bcb7cd0ddf
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/components/AddAssistCheck/Textarea/index.jsx

+ 2 - 2
src/components/AddAssistCheck/Textarea/index.jsx

@@ -44,7 +44,7 @@ class Textarea extends Component {
     });
   }
   handleInputFocus(){
-    const {handlePush} = this.props;
+    /*const {handlePush} = this.props;
     const stimer = this.state.timer;
     clearTimeout(stimer);
     let timer = setTimeout(function(){
@@ -53,7 +53,7 @@ class Textarea extends Component {
     },config.delayPushTime);
     this.setState({
       timer
-    });
+    });*/
   }
   shouldComponentUpdate(next){
     if(JSON.stringify(next) == JSON.stringify(this.props)){