Commit fca8007e authored by 沈良进's avatar 沈良进

no message

parent 1d280a52
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
style="display: flex;align-items: start; justify-content: space-between;" style="display: flex;align-items: start; justify-content: space-between;"
> >
<div style="display: flex;flex-wrap: wrap; flex-grow: 1;"> <div style="display: flex;flex-wrap: wrap; flex-grow: 1;">
<div v-for="(x, index) in TripMapList" ::key="x.Id" class="row-aic"> <div v-for="(x, index) in TripMapList" :key="x.Id" class="row-aic">
<el-select <el-select
class="w100" class="w100"
size="mini" size="mini"
...@@ -746,6 +746,7 @@ export default { ...@@ -746,6 +746,7 @@ export default {
marker.addTo(this.map); marker.addTo(this.map);
marker.on("dragend", function() { marker.on("dragend", function() {
let currentMarkerLngLat = marker.getLngLat(); let currentMarkerLngLat = marker.getLngLat();
console.log(currentMarkerLngLat,'------currentMarkerLngLat')
that.citiesData[i].Lng = currentMarkerLngLat.lng; that.citiesData[i].Lng = currentMarkerLngLat.lng;
that.citiesData[i].Lat = currentMarkerLngLat.lat; that.citiesData[i].Lat = currentMarkerLngLat.lat;
that.setCitiesPosition() that.setCitiesPosition()
......
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