luolei 4 anni fa
parent
commit
c29b8871de
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      src/components/AddInspect/index.jsx

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

@@ -110,8 +110,7 @@ class Inspect extends React.Component {
       }
     });
     const that = this;
-    document.addEventListener('mousedown',function(e){
-      //onMousedown的目标为滚动条时,标签填写单不关闭
+    document.addEventListener('mousedown',function(e){//onMousedown的目标为滚动条时,标签填写单不关闭
       if(e.target.className=='scrollbar'){
         that.isBar = true;
       }else{