|
@@ -24,7 +24,7 @@ class Textarea extends Component {
|
|
|
const {handleFocus,fuzhen,handleInput,isChronic} = this.props;
|
|
|
handleFocus&&handleFocus(); //其他史、查体获取数据的方法
|
|
|
if(fuzhen&& !isChronic.name&&!(this.$dom.current.innerText?this.$dom.current.innerText:this.$dom.current.innerHTML)){
|
|
|
- const text = config.currentText.replace("(**)",fuzhen);
|
|
|
+ const text = config.currentText.replace("(**)",fuzhen.replace(";",''));
|
|
|
this.$dom.current.innerText?(this.$dom.current.innerText = text):(this.$dom.current.innerHTML = text);
|
|
|
handleInput&&handleInput({text});
|
|
|
}
|