From db3d5331c74d29806622dd272630243a74745c82 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期三, 05 三月 2025 17:04:00 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/YiWuProject --- UI-Project/src/views/Identify/identify.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/UI-Project/src/views/Identify/identify.vue b/UI-Project/src/views/Identify/identify.vue index 461d622..88c6d21 100644 --- a/UI-Project/src/views/Identify/identify.vue +++ b/UI-Project/src/views/Identify/identify.vue @@ -161,8 +161,10 @@ const scaleFactory = 750/3300; adjustedRects.value = rawRects.map(rect => ({ ...rect, - xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor * 1.1, - yaxisa: rect.yaxis * scaleFactory * 1.1, + xaxisa: rect.xaxis * scaleFactor * 1.1, + yaxisa: (3300 - (rect.yaxis + rect.edgHeight + 300)) * scaleFactory * 1.1, + // xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor * 1.1, + // yaxisa: rect.yaxis * scaleFactory * 1.1, width: rect.edgWidth * scaleFactor * 1.1, widtha: rect.edgWidth , heighta: rect.edgHeight , @@ -184,8 +186,8 @@ const scaleFactory = 750/3300; adjustedRects.value = rawRects.map(rect => ({ ...rect, - xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor * 1.1, - yaxisa: rect.yaxis * scaleFactory * 1.1, + xaxisa: rect.xaxis * scaleFactor * 1.1, + yaxisa: (3300 - (rect.yaxis + rect.edgHeight + 300)) * scaleFactory * 1.1, width: rect.edgWidth * scaleFactor * 1.1, widtha: rect.edgWidth , heighta: rect.edgHeight , -- Gitblit v1.8.0