fix:修改地图展示聚焦点位数据

This commit is contained in:
SunTao 2025-04-15 14:04:35 +08:00
parent 537ef33fdf
commit cfb6fb5b7a

View File

@ -266,7 +266,11 @@ export default {
].filter((item) => { ].filter((item) => {
return item.geometry; return item.geometry;
}); });
this.fitMapToPoints(e.defectLocation); this.fitMapToPoints([
...e.defectLocation,
e.endCoordinates,
e.startCoordinates,
]);
this.drawPoint(); this.drawPoint();
}, },