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)
       }
     });
   }