diff --git a/src/jmapNew/shape/graph/Section/index.js b/src/jmapNew/shape/graph/Section/index.js index 368b5801d..1c5fed385 100644 --- a/src/jmapNew/shape/graph/Section/index.js +++ b/src/jmapNew/shape/graph/Section/index.js @@ -482,7 +482,7 @@ export default class Section extends Group { this.setAshShow(); model.preGreen && this.line.setStyle({stroke: '#00FF00'}); model.preBlue && this.line.setStyle({stroke: '#4A76B7'}); - model.preWhite && this.line.setStyle({stroke: '#fff'}) + model.preWhite && this.line.setStyle({stroke: '#fff'}); } else { this.handleSwitchSection(model, flag); // 顺序代表优先级 @@ -530,7 +530,8 @@ export default class Section extends Group { } } // 分路不良 - model.badShunt && this.badShuntStatus(); + // model.badShunt && + model.shuntingTypeList && model.shuntingTypeList.length > 0 && this.badShuntStatus(); } }