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