Parcourir la source

修改FF26引用现病史没有值(3368)

zhangxc il y a 5 ans
Parent
commit
3efd3da289
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/common/components/Textarea/index.jsx

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

@@ -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){