From 06b52ad6ca6911fd093d4e17cc821754f7f1efd8 Mon Sep 17 00:00:00 2001 From: yyy <2605810609@qq.com> Date: Sat, 15 Feb 2025 17:34:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mapPage/realTimeMap/editMap.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/mapPage/realTimeMap/editMap.vue b/src/views/mapPage/realTimeMap/editMap.vue index 589ce004..7dd9ecee 100644 --- a/src/views/mapPage/realTimeMap/editMap.vue +++ b/src/views/mapPage/realTimeMap/editMap.vue @@ -503,6 +503,7 @@ const mapClick = (e) => { if (toolbarSwitchType.value === 'ranging') { measureDistancesClick(e) } + disposeEventPoints(e) } //输入文字样式改变 const textFormSuccess = (form) => { @@ -1305,6 +1306,8 @@ const disposeEventPoints = (event) => { const actualLocationX = (x - imgBgObj.origin[0]) / imgBgObj.resolution const actualLocationY = (y - imgBgObj.origin[1]) / imgBgObj.resolution + console.log(actualLocationX, actualLocationY, '实际坐标') + return { x, y,