|
@@ -198,7 +198,9 @@ class MultSpread extends Component{
|
|
|
const {saveAddItem,fullData,copyId,showAdd} = this.props;
|
|
|
if(showAdd){
|
|
|
const data = tools.deepClone(fullData);
|
|
|
+ setTimeout(function(){ //修改个别历史病例引用报错bug
|
|
|
saveAddItem&&saveAddItem(copyId,data);
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
getContClass(){
|
|
@@ -218,7 +220,7 @@ class MultSpread extends Component{
|
|
|
ref = {this.$cont}
|
|
|
contentEditable={this.state.editable}
|
|
|
onBlur={this.handleEdit}
|
|
|
- onkeydown={tools.handleEnter}>
|
|
|
+ onKeyDown={tools.handleEnter}>
|
|
|
{textPrefix?<span>{textPrefix}</span>:''}
|
|
|
<div className={this.getClass()}>
|
|
|
{this.getLabels()}
|