xushiting 2 年之前
父節點
當前提交
46952a5e56
共有 2 個文件被更改,包括 5 次插入6 次删除
  1. 1 1
      server/test/a0k4xu045_202305311600080410/attach/sceneStore
  2. 4 5
      src/graphic/ListenLayer.js

文件差異過大導致無法顯示
+ 1 - 1
server/test/a0k4xu045_202305311600080410/attach/sceneStore


+ 4 - 5
src/graphic/ListenLayer.js

@@ -293,13 +293,12 @@ export default class ListenLayer {
     };
     const lines = dataService.getLines();
     for (const lineId in lines) {
-      if (exceptLineId == lineId) {
+      if (
+        exceptLineId &&
+        (exceptLineId == lineId || exceptLineId.hasOwnProperty(lineId))
+      ) {
         continue;
       }
-      if (stateService.getEventName() == LayerEvents.MovePoint) {
-        console.log("选中的isSelectLine:" + exceptLineId);
-        debugger;
-      }
 
       const line = dataService.getLine(lineId);
       if (