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 => {