|
@@ -88,7 +88,7 @@ class AssessResultHis extends Component {
|
|
|
showScaleFn(item,pid){
|
|
|
const { list,inquiryId } = this.props;
|
|
|
const obj = list&&list[inquiryId];
|
|
|
- if(!(obj.scaleInfo&&obj.scaleInfo[item.id])){
|
|
|
+ if(item&&item.id&&!(obj.scaleInfo&&obj.scaleInfo[item.id])){
|
|
|
Notify.info("未保存该量表数据");
|
|
|
return ;
|
|
|
}
|