代码调整

This commit is contained in:
joylink_cuiweidong 2022-05-19 14:29:16 +08:00
parent 6dc2afe158
commit e6876ee7f4

View File

@ -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();
}
}