This commit is contained in:
fan 2022-05-27 15:55:22 +08:00
commit 6c5c2b8d4f
2 changed files with 17 additions and 18 deletions

View File

@ -1,4 +1,3 @@
/* 观的角度来看当前所处的位置。 */
import Group from 'zrender/src/container/Group';
import TrainBodyBox from './TrainBodyBox';
// import '../StationStand/EDetain';

View File

@ -267,7 +267,7 @@ export default class Train extends Group {
this.trainL && this.trainL.setArrowShow(item.arrowLShow);
this.trainR && this.trainR.setArrowShow(item.arrowRShow);
}
} else if(this.style.Train.trainHead.directionStopType == 'specialAll'){
} else if (this.style.Train.trainHead.directionStopType == 'specialAll') {
if (flag) {
this.trainL && this.trainL.setArrowShow(!item.arrowLShow);
this.trainR && this.trainR.setArrowShow(!item.arrowRShow);