彭宇 %!s(int64=2) %!d(string=hai) anos
pai
achega
550d4fa982
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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)
           }
         })
       },