From a2ee0bef4974a2814d86061e86da88645ce3b7cc Mon Sep 17 00:00:00 2001 From: "mrs_12345@163.com" Date: Tue, 12 Jul 2022 18:54:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=BB=E5=B8=83=E5=A4=A7=E5=B0=8F=E5=8F=96?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/coe.team.pal.designer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.team.pal.designer.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.team.pal.designer.js index c788a5a6..83d71174 100644 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.team.pal.designer.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.team.pal.designer.js @@ -349,8 +349,8 @@ $(function() { y : 180 - pos.top }); Designer.setPageStyle({ - width: minPageWidth, - height: contentHeight + 360 + width: Math.trunc(minPageWidth), + height: Math.trunc(contentHeight + 360) }); } else if(movingShapes.length > 0 && contentWidth > minPageWidth - 180*2) { // 右移或左移 距左部60 默认padding 60 @@ -364,8 +364,8 @@ $(function() { y : 180 - pos.top }); Designer.setPageStyle({ - width: contentWidth + 180*2, - height: contentHeight + 180*2 + width: Math.trunc(contentWidth + 180*2), + height: Math.trunc(contentHeight + 180*2) }); } Model.updateMulti(movingShapes);