@@ -2,6 +2,7 @@
.box{
margin: 2px 20px;
+ word-break: break-all;
.title{
width: 65px;
float: left;
@@ -52,7 +52,7 @@ class Textarea extends Component {
}
componentDidMount(){
const {value} = this.props;
- if(value){
+ if(value && value.trim()){
this.$dom.current.innerText = value||'';
this.$dom.current.nextSibling.innerText = '';
}else{