代码调整
This commit is contained in:
parent
6dc2afe158
commit
e6876ee7f4
@ -482,7 +482,7 @@ export default class Section extends Group {
|
|||||||
this.setAshShow();
|
this.setAshShow();
|
||||||
model.preGreen && this.line.setStyle({stroke: '#00FF00'});
|
model.preGreen && this.line.setStyle({stroke: '#00FF00'});
|
||||||
model.preBlue && this.line.setStyle({stroke: '#4A76B7'});
|
model.preBlue && this.line.setStyle({stroke: '#4A76B7'});
|
||||||
model.preWhite && this.line.setStyle({stroke: '#fff'})
|
model.preWhite && this.line.setStyle({stroke: '#fff'});
|
||||||
} else {
|
} else {
|
||||||
this.handleSwitchSection(model, flag);
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user