代码调整

This commit is contained in:
joylink_cuiweidong 2022-05-27 13:08:39 +08:00
parent 5ebb0139ec
commit a53798ebbe
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);