luolei пре 4 година
родитељ
комит
62467587f3
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/components/AddNewInspect/SlidePic/index.jsx

+ 2 - 2
src/components/AddNewInspect/SlidePic/index.jsx

@@ -36,8 +36,8 @@ class SlidePic extends Component {
         })
       }
       if($(event.target).attr("id")!='selectJiType'&&$(event.target).attr("id")!='selectJiTypeWrap'){
-        const {handleSelectShow,idx} = this.props;
-        handleSelectShow(idx,0)
+        const {handleSelectShow,idx,item} = this.props;
+        item.flg==5&&handleSelectShow(idx,0)
       }
     });
   }