瀏覽代碼

动物保护

彭宇 3 年之前
父節點
當前提交
ac9daec583
共有 1 個文件被更改,包括 8 次插入4 次删除
  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)
           }
         })
       },