岔芯预复位报错调整

This commit is contained in:
fan 2021-03-11 09:17:57 +08:00
parent 659054f1fa
commit 8631b66be9

View File

@ -306,8 +306,8 @@ export default class Section extends Group {
/** 计轴预复位 */
preReset(blockade) {
if (this.style.Section.sectionMiddle && this.style.Section.sectionMiddle.preResetColor && !blockade) { // 南京二号线
this.sectionMiddle.setStyle({stroke: this.style.Section.sectionMiddle.preResetColor});
this.sectionMiddle.show();
this.sectionMiddle && this.sectionMiddle.setStyle({stroke: this.style.Section.sectionMiddle.preResetColor});
this.sectionMiddle && this.sectionMiddle.show();
}
}
// 延时解锁