JX.LI hace 2 años
padre
commit
3cd97ec08f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/leader.vue

+ 1 - 1
src/views/leader.vue

@@ -370,6 +370,7 @@
           this.recordList = res.data;
         })
         this.$refs.supermap.clearC();
+          this.$refs.supermap.clearTwoC();
         this.setTaskPointList(patrolTrajectory);
       },
       //点击右侧巡查记录获取 巡查轨迹
@@ -399,7 +400,6 @@
         }
         setTimeout(() => {
           this.$refs.supermap.clearC();
-          this.$refs.supermap.clearTwoC();
           this.$refs.supermap.setConnectList(data, '#04f', 0.8);
         }, 1000)
       },