Bladeren bron

修改bug

JX.LI 2 jaren geleden
bovenliggende
commit
d194bb4ce1
1 gewijzigde bestanden met toevoegingen van 4 en 1 verwijderingen
  1. 4 1
      src/views/leader.vue

+ 4 - 1
src/views/leader.vue

@@ -347,6 +347,7 @@
         this.xunLinListOne = [];
         this.patrolTrajectory = null;
         this.$refs.supermap.clearC()
+        this.$refs.supermap.clearTwoC();
       },
       //点击左侧人员列表获取 巡查轨迹
       getPlanList(personId) {
@@ -361,6 +362,7 @@
         })
         this.patrolTrajectory = null;
         this.$refs.supermap.clearC()
+        this.$refs.supermap.clearTwoC();
       },
       //点击右侧巡查轨迹获取 巡查记录
       getRecordList(id, patrolTrajectory) {
@@ -400,6 +402,7 @@
         }
         setTimeout(() => {
           this.$refs.supermap.clearC();
+        this.$refs.supermap.clearTwoC();
           this.$refs.supermap.setConnectList(data, '#04f', 0.8);
         }, 1000)
       },
@@ -554,4 +557,4 @@
   .h-27 {
     height: 27rem;
   }
-</style>
+</style>