소스 검색

Merge remote-tracking branch 'origin/bugFix20190722' into dev/new1

zhouna 5 년 전
부모
커밋
eab48fd613
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/components/CheckBody/index.jsx

+ 3 - 0
src/components/CheckBody/index.jsx

@@ -35,6 +35,9 @@ class CheckBody extends Component{
     this.setState({boxLeft:next.boxLeft})
   }
   isThereHigh(arr,ids){
+    if(!arr||!ids){
+      return false;
+    }
     const item = arr.find((it)=>{
       return ids.includes(it.id);
     });