فهرست منبع

Merge branch 'master' of http://192.168.0.115:3000/bill/public-fuse

bill 1 سال پیش
والد
کامیت
e3b9663549
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      src/view/case/draw/board/editCAD/Layer.js

+ 6 - 4
src/view/case/draw/board/editCAD/Layer.js

@@ -142,11 +142,13 @@ export default class Layer {
       if (eventName == null && selectItem) {
         stateService.setDraggingItem(selectItem);
         this.uiControl.selectUI = selectItem.type;
-      } else if (eventName == null) {
-        this.uiControl.clearUI();
-      }
+      } 
+      // else if (eventName == null) {
+      //   this.uiControl.clearUI();
+      // }
     }
     this.setEventName("mouseDown");
+    this.uiControl.clearUI();
     // 清除上一个状态
     // 设置当前事件名称
     e.preventDefault();
@@ -573,7 +575,7 @@ export default class Layer {
         focusItem = null;
       }
       stateService.setFocusItem(focusItem);
-      this.uiControl.clearUI();
+      //this.uiControl.clearUI();
     }
 
     let position = coordinate.getXYFromScreen({