Commit 514cb803 authored by youjie's avatar youjie

no message

parent 4544c9f5
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
this.TripMapList.push(JSON.parse(JSON.stringify(obj))); this.TripMapList.push(JSON.parse(JSON.stringify(obj)));
} }
console.log(this.TripMapList, "----TripMapList"); // console.log(this.TripMapList, "----TripMapList");
}, },
deep: true, deep: true,
immediate: true immediate: true
...@@ -947,7 +947,6 @@ export default { ...@@ -947,7 +947,6 @@ export default {
let TripMapList = that.TripMapList.filter(y=> y.MName==x.MName) let TripMapList = that.TripMapList.filter(y=> y.MName==x.MName)
TripMapList[0].Lng = currentMarkerLngLat.lng; TripMapList[0].Lng = currentMarkerLngLat.lng;
TripMapList[0].Lat = currentMarkerLngLat.lat; TripMapList[0].Lat = currentMarkerLngLat.lat;
console.log(that.TripMapList,'====that.TripMapList')
marker.on("dragend", function() { marker.on("dragend", function() {
currentMarkerLngLat = marker.getLngLat(); currentMarkerLngLat = marker.getLngLat();
TripMapList = that.TripMapList.filter(y=> y.MName==x.MName) TripMapList = that.TripMapList.filter(y=> y.MName==x.MName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment