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);