diff --git a/src/jmapNew/shape/Section/index.js b/src/jmapNew/shape/Section/index.js index debe670de..90aa9ed74 100644 --- a/src/jmapNew/shape/Section/index.js +++ b/src/jmapNew/shape/Section/index.js @@ -151,6 +151,10 @@ export default class Section extends Group { stroke: this.style.Section.line.communicationOccupiedColor, fill:this.style.Section.line.communicationOccupiedColor }); + + if (this.model.parentCode && this.model.type == '01') { + this.line.setCrossRouteLock(); + } } /** 非通信车占用状态 03*/ @@ -172,6 +176,10 @@ export default class Section extends Group { if (this.name && this.style.Section.name.occupyColor) { this.name.setStyle({ textFill: this.style.Section.name.occupyColor }); } + + if (this.model.parentCode && this.model.type == '01') { + this.line.setCrossRouteLock(); + } } /** ARB故障 */ invalid() {