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 (