|
@@ -77,7 +77,7 @@ class Textarea extends Component {
|
|
|
}
|
|
|
componentWillReceiveProps(next){
|
|
|
const isRead = this.props.isRead;
|
|
|
- if(next.isRead != isRead){
|
|
|
+ if(next.isRead != isRead||next.value!=this.props.value){ //value对比解决复诊不显示bug
|
|
|
this.$dom.current.innerText = next.value||'';
|
|
|
}
|
|
|
}
|