diff --git a/src/jmapNew/map.js b/src/jmapNew/map.js index 68b0b8a75..071c71767 100644 --- a/src/jmapNew/map.js +++ b/src/jmapNew/map.js @@ -440,7 +440,7 @@ class Jlmap { const trainList = []; list.forEach(item => { const device = this.mapDevice[item]; - if (device && device._type !== deviceType.Switch && device._type !== deviceType.Train) { + if (device && device._type !== deviceType.Switch && device._type !== deviceType.Train && device._type !== deviceType.TrainWindow) { const pictureDevice = store.getters['map/getPictureDeviceByCode'](item); device._pictureHide = pictureDevice ? pictureDevice.pictureHide : false; this.$painter.updatePicture(device);