|
@@ -42,7 +42,7 @@ class Textarea extends Component {
|
|
|
componentDidMount(){
|
|
|
const {value} = this.props;
|
|
|
if(value && value.trim()){
|
|
|
- this.$dom.current.innerText = value
|
|
|
+ this.$dom.current.innerHTML = value
|
|
|
// this.$dom.current.focus()
|
|
|
// this.$dom.current.innerText ? (this.$dom.current.innerText = value) : (this.$dom.current.innerHTML = value)
|
|
|
// this.$dom.current.nextSibling.innerText?(this.$dom.current.nextSibling.innerText = ''):(this.$dom.current.nextSibling.innerHTML = '')
|