소스 검색

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

zhangxc 5 년 전
부모
커밋
3efd3da289
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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){