diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.debug.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.debug.js index 47db1b2d..95967cb6 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.debug.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.debug.js @@ -5479,6 +5479,11 @@ var Designer = { var y = $("").appendTo(o); + setTimeout(function () { + var start = Model.maxZIndex + 1; + q.props.zindex = start; //q为当前shape + Model.updateMulti([q]); + },300); y.on("mousedown.link", function(I) { I.stopPropagation(); @@ -5653,6 +5658,9 @@ var Designer = { q.props.zindex = start; //q为当前shape Model.updateMulti([q]);*/ // 重画节点 Designer.painter.renderShape(q); + var start = Model.maxZIndex + 1; + q.props.zindex = start; //q为当前shape + Model.updateMulti([q]); y.on("mousedown.attachment", function(I) { I.stopPropagation(); diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.js index 0b94d182..551ab433 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.js @@ -5620,6 +5620,11 @@ var Designer = { var y = $("").appendTo(o); + setTimeout(function () { + var start = Model.maxZIndex + 1; + q.props.zindex = start; //q为当前shape + Model.updateMulti([q]); + },300); y.on("mousedown.link", function(I) { I.stopPropagation(); @@ -5794,6 +5799,9 @@ var Designer = { q.props.zindex = start; //q为当前shape Model.updateMulti([q]);*/ // 重画节点 Designer.painter.renderShape(q); + var start = Model.maxZIndex + 1; + q.props.zindex = start; //q为当前shape + Model.updateMulti([q]); y.on("mousedown.attachment", function(I) { I.stopPropagation();