|
@@ -155,7 +155,7 @@ class Textarea extends Component {
|
|
|
componentDidMount(){
|
|
|
const {value} = this.props;
|
|
|
if(value){
|
|
|
- this.$dom.current.innerText?(this.$dom.current.innerText = value||''):(this.$dom.current.innerText=value||'');
|
|
|
+ this.$dom.current.innerText?(this.$dom.current.innerText = value||''):(this.$dom.current.innerHTML=value||'');
|
|
|
}
|
|
|
if(isIE()){
|
|
|
$(this.$dom.current).onIe8Input(function(e){
|