现地客户端列车显示问题调整

This commit is contained in:
joylink_fanyuhong 2024-08-16 23:09:34 +08:00
parent f66844bc27
commit 2b8116afd3

View File

@ -440,7 +440,7 @@ class Jlmap {
const trainList = []; const trainList = [];
list.forEach(item => { list.forEach(item => {
const device = this.mapDevice[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); const pictureDevice = store.getters['map/getPictureDeviceByCode'](item);
device._pictureHide = pictureDevice ? pictureDevice.pictureHide : false; device._pictureHide = pictureDevice ? pictureDevice.pictureHide : false;
this.$painter.updatePicture(device); this.$painter.updatePicture(device);