diff --git a/src/views/index.vue b/src/views/index.vue index 772a2e8..9bb76d0 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -985,8 +985,8 @@ const ShutDownWorkBtn = () => { ShutDownWork() } const getPoint = (k) => { - points.value[k].lon = currentPosition.value.lon || 0 - points.value[k].lat = currentPosition.value.lat || 0 + areaPoints.value[k].lon = currentPosition.value.lon || 0 + areaPoints.value[k].lat = currentPosition.value.lat || 0 } const getArea1 = () => { if (points.value.length < 4) return