浏览代码

去掉e.stopPropagation()避免出啊先两个弹窗的情况

luolei 5 年之前
父节点
当前提交
05abba1709
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/AddInspect/index.jsx

+ 1 - 1
src/components/AddInspect/index.jsx

@@ -149,7 +149,7 @@ class Inspect extends React.Component {
       currentData: baseList,
       dateTime: baseList.time ? baseList.time : getCurrentDate(1)
     })
-    e.stopPropagation();
+    // e.stopPropagation();
   }
   handleShowDate() {
     this.setState({