Forráskód Böngészése

主诉文本模式复制文本字数超出bug修改

zhouna 5 éve
szülő
commit
a16feddc7e
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      src/common/components/Textarea/index.jsx

+ 2 - 1
src/common/components/Textarea/index.jsx

@@ -68,7 +68,8 @@ class Textarea extends Component {
       this.setState({
         inpText:text.substr(0,config.limited),
         overFlag:true
-      })
+      });
+      handleInput&&handleInput({text:text.substr(0,config.limited)});
       return;
     }
     /*if(boxMark=='3'&&!hasMain){