Explorar o código

update BdMap.vue

reghao %!s(int64=2) %!d(string=hai) anos
pai
achega
82435f5d5d
Modificáronse 1 ficheiros con 9 adicións e 10 borrados
  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 {