From bfa15c63af91182f913f45f6483f776e4725e5a3 Mon Sep 17 00:00:00 2001 From: yyy <2605810609@qq.com> Date: Wed, 5 Mar 2025 14:50:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=97=E9=BB=91=E6=A8=A1=E5=BC=8F=E5=BC=80?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Login/Login.vue | 6 +++--- src/views/mapPage/realTimeMap/editMap.vue | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index 900914ae..6409e975 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -31,7 +31,7 @@ class="relative flex-1 p-30px dark:bg-[var(--login-bg-color)] lt-sm:p-10px overflow-x-hidden overflow-y-auto" > - - --> +
{ let x = Number(locationX) + Number(item.locationWidePx) / 2 let y = Number(locationY) + Number(item.locationDeepPx) / 2 + console.log(x, y) + if (x === item.locationX && y === item.locationY) return let actualPoint = disposeEventPoint(x, y) state.allMapPointInfo[index].locationX = x