fix: 形状配置渲染问题,当前形状如果没有特殊配置及全局配置时,不进行渲染操作
This commit is contained in:
parent
149fe66ed5
commit
9237bbf35b
@ -4239,7 +4239,10 @@ var Designer = {
|
||||
var u = [p];
|
||||
this.renderPath(n, q, u);
|
||||
this.renderText(q, t);
|
||||
this.renderDataAttributes(q, t);
|
||||
let tmpCommonShapeConfig = Utils.copy(Model.define.commonShapeConfig);
|
||||
if (specialShapeConfig !== undefined || tmpCommonShapeConfig[key] !== undefined){ // 如果特殊与全局都没有配置,则不显示
|
||||
this.renderDataAttributes(q, t);
|
||||
}
|
||||
this.renderTitleShow(q, t);
|
||||
Designer.painter.renderShapeLink(o, q); //节点链接
|
||||
Designer.painter.renderSahpeAttachment(o, q); //节点附件
|
||||
|
||||
@ -4180,7 +4180,10 @@ var Designer = {
|
||||
var u = [p];
|
||||
this.renderPath(n, q, u);
|
||||
this.renderText(q, t);
|
||||
this.renderDataAttributes(q, t);
|
||||
let tmpCommonShapeConfig = Utils.copy(Model.define.commonShapeConfig);
|
||||
if (specialShapeConfig !== undefined || tmpCommonShapeConfig[key] !== undefined){ // 如果特殊与全局都没有配置,则不显示
|
||||
this.renderDataAttributes(q, t);
|
||||
}
|
||||
Designer.painter.renderShapeLink(o, q); //节点链接
|
||||
Designer.painter.renderSahpeAttachment(o, q); //节点附件
|
||||
if (q.attributesJsonArray != undefined && q.attributesJsonArray.length > 0) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user