liyg преди 1 година
родител
ревизия
674ea37587
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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 => {