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