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 83d71174..de47aa6d 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 @@ -343,6 +343,11 @@ $(function() { movingShapes = selected.concat(outlinkers); } if(movingShapes.length > 0 && contentWidth <= minPageWidth - 180*2) { + // 右移或左移 距左部120 默认padding 60 + Designer.op.moveShape(movingShapes, { + x : 180 - pos.left, + y : 0 + }); // 下移或上移 距顶部120 默认padding 60 Designer.op.moveShape(movingShapes, { x : 0, @@ -352,8 +357,9 @@ $(function() { width: Math.trunc(minPageWidth), height: Math.trunc(contentHeight + 360) }); - } else if(movingShapes.length > 0 && contentWidth > minPageWidth - 180*2) { - // 右移或左移 距左部60 默认padding 60 + } + if(movingShapes.length > 0 && contentWidth > minPageWidth - 180*2) { + // 右移或左移 距左部120 默认padding 60 Designer.op.moveShape(movingShapes, { x : 180 - pos.left, y : 0