liyg 1 jaar geleden
bovenliggende
commit
674ea37587
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 3 0
      src/views/statisticalReport/components/salesLogisticsStatistics/mapTest.vue

+ 3 - 0
src/views/statisticalReport/components/salesLogisticsStatistics/mapTest.vue

@@ -469,6 +469,9 @@ export default {
     },
     initData(orderNumber) {
       let that = this
+      if(this.map){
+        this.map.destroy();
+      }
       that.axios
         .post('/api/v1/otms/fullPath?orderNumber=' + orderNumber)
         .then(res => {