JX.LI před 2 roky
rodič
revize
3cd97ec08f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)
       },