wenhongquan 2 лет назад
Родитель
Сommit
97cde9b957
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/Map/map.vue

+ 1 - 1
src/components/Map/map.vue

@@ -49,7 +49,7 @@ const getCarInfoList = () => {
           var obj = res.rows[index].location;
           var obj = res.rows[index].location;
             // console.log(obj.toString())
             // console.log(obj.toString())
           var location = formatGCJ(obj.lng, obj.lat);
           var location = formatGCJ(obj.lng, obj.lat);
-            if(res.rows[index].carNum.indexOf("JYA798")!= -1) alert("1")
+            //if(res.rows[index].carNum.indexOf("JYA798")!= -1) alert("1")
             // console.log(location.toString())
             // console.log(location.toString())
             addMarker(location, res.rows[index], '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', 'location')
             addMarker(location, res.rows[index], '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', 'location')