diff --git a/src/views/index.vue b/src/views/index.vue index 24b3f5c..93df3ae 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1205,6 +1205,7 @@ function getBoundingBoxAndSize(pointsArr) { if (nearestPoint.name === '点位4') { areaType.value = 4 } + console.log(nearestPoint) return { width: (areaType.value === 1 || areaType.value === 3) ? width : height, height: (areaType.value === 1 || areaType.value === 3) ? height : width,