@@ -115,11 +115,11 @@ class CurrentIll extends Component{
}
componentWillReceiveProps(nextProps){
- const contHeightDiff = nextProps.data&&this.props.data&&nextProps.data.length!==this.props.data.length;
+ /*const contHeightDiff = nextProps.data&&this.props.data&&nextProps.data.length!==this.props.data.length;
const dataDiff = !!nextProps.data!==!!this.props.data;
- if(contHeightDiff||dataDiff){
+ if(contHeightDiff||dataDiff){*/ //走慢病否,现病史消失滚动才出现bug修改
this.context.scrollArea.refresh();
- }
+ //}
render(){
const {hasMain,readMode,fuzhen,isChronic,type,fetchPushInfos,handleInput,isRead,saveText,searchData,totalHide,editClear,data} = this.props;