wenhongquan пре 2 година
родитељ
комит
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;
             // console.log(obj.toString())
           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())
             addMarker(location, res.rows[index], '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', 'location')