reghao 2 лет назад
Родитель
Сommit
82435f5d5d
1 измененных файлов с 9 добавлено и 10 удалено
  1. 9 10
      src/views/home/BdMap.vue

+ 9 - 10
src/views/home/BdMap.vue

@@ -196,17 +196,16 @@ export default {
     getMarkerInfoWrapper(item) {
       this.earthPoint = item.position
       this.showMarkerDialog = true
-      console.log(item)
-      getMarkerInfo(item.id).then(res => {
-        this.markerInfo = {
-          itemId: null,
-          sku: null,
-          replyId: null,
-          replyContent: null,
-          appendContent: null,
-          photoUrl: null
-        }
+      this.markerInfo = {
+        itemId: null,
+        sku: null,
+        replyId: null,
+        replyContent: null,
+        appendContent: null,
+        photoUrl: null
+      }
 
+      getMarkerInfo(item.id).then(res => {
         if (res.code === 0) {
           this.markerInfo = res.data
         } else {