Parcourir la source

地图切换点击小班浮现详情

wangcc il y a 2 ans
Parent
commit
605484576a
1 fichiers modifiés avec 0 ajouts et 6 suppressions
  1. 0 6
      src/components/amap.vue

+ 0 - 6
src/components/amap.vue

@@ -172,7 +172,6 @@ export default {
       deep: true,
       immediate: true,
       handler: function (val, oldVal) {
-        console.log(val);
         if (val) {
           if (val.longitude && val.latitude && !val.name) {
             let lanLatArr = [val.longitude, val.latitude];
@@ -223,11 +222,6 @@ export default {
             this.map.remove(this.smallMarker);
           }
         }
-
-        // if (val == '123') {
-        //   console.log('caozuo');
-        //   this.map.remove(this.smallMarker);
-        // }
       }
     }
   },