Explorar el Código

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

zhouna hace 4 años
padre
commit
bcb7cd0ddf
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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)){