瀏覽代碼

动物保护

彭宇 2 年之前
父節點
當前提交
550d4fa982
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/views/animal.vue

+ 6 - 0
src/views/animal.vue

@@ -216,6 +216,9 @@
               that.$refs.supermap.clearM(true)
               that.$refs.supermap.setMarkers(that.markersList)
             }, 1000)
+          }else{
+            that.$refs.supermap.clearM(false)
+            that.$refs.supermap.clearM(true)
           }
         })
       },
@@ -274,6 +277,9 @@
               that.$refs.supermap.clearM(true)
               that.$refs.supermap.setMarkers(that.markersList)
             }, 1000)
+          }else{
+            that.$refs.supermap.clearM(false)
+            that.$refs.supermap.clearM(true)
           }
         })
       },