彭宇 3 éve
szülő
commit
ac9daec583
1 módosított fájl, 8 hozzáadás és 4 törlés
  1. 8 4
      src/views/animal.vue

+ 8 - 4
src/views/animal.vue

@@ -248,8 +248,10 @@
               that.$refs.supermap.setMarkers(that.markersList)
             }, 1000)
           }else{
-            that.$refs.supermap.clearM(false)
-            that.$refs.supermap.clearM(true)
+            setTimeout(() => {
+              that.$refs.supermap.clearM(false)
+              that.$refs.supermap.clearM(true)
+            }, 1000)
           }
         })
       },
@@ -311,8 +313,10 @@
               that.$refs.supermap.setMarkers(that.markersList)
             }, 1000)
           }else{
-            that.$refs.supermap.clearM(false)
-            that.$refs.supermap.clearM(true)
+            setTimeout(() => {
+              that.$refs.supermap.clearM(false)
+              that.$refs.supermap.clearM(true)
+            }, 1000)
           }
         })
       },