From cfb6fb5b7a7493f3dee34ceaa03022e9b044f098 Mon Sep 17 00:00:00 2001 From: SunTao <328867980@qq.com> Date: Tue, 15 Apr 2025 14:04:35 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E5=B1=95=E7=A4=BA=E8=81=9A=E7=84=A6=E7=82=B9=E4=BD=8D?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xj/inspection/map-diease/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/xj/inspection/map-diease/index.vue b/src/views/xj/inspection/map-diease/index.vue index 9569d9f..3a37257 100644 --- a/src/views/xj/inspection/map-diease/index.vue +++ b/src/views/xj/inspection/map-diease/index.vue @@ -266,7 +266,11 @@ export default { ].filter((item) => { return item.geometry; }); - this.fitMapToPoints(e.defectLocation); + this.fitMapToPoints([ + ...e.defectLocation, + e.endCoordinates, + e.startCoordinates, + ]); this.drawPoint(); },