From 20e4592ae1df87357cba2591240884624edd2d61 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 13 Sep 2024 11:24:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=AE=E6=94=B9=E7=82=B9=E5=87=BB=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E4=BC=9A=E4=B8=80=E6=AC=A1=E6=80=A7=E5=A2=9E=E5=8A=A02px?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/visualization/common/ComponentPosition.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/core-frontend/src/components/visualization/common/ComponentPosition.vue b/core/core-frontend/src/components/visualization/common/ComponentPosition.vue index 3c32cc72aa..48b3a4368c 100644 --- a/core/core-frontend/src/components/visualization/common/ComponentPosition.vue +++ b/core/core-frontend/src/components/visualization/common/ComponentPosition.vue @@ -155,9 +155,7 @@ const onPositionChange = key => { ) } } else { - curComponent.value.style[key] = Math.round( - (positionMounted.value[key] * canvasStyleData.value.scale) / 100 - ) + curComponent.value.style[key] = (positionMounted.value[key] * canvasStyleData.value.scale) / 100 } if (['Group', 'DeTabs'].includes(curComponent.value.component)) {