diff --git a/src/jmapNew/shape/graph/TrainWindow/EMouse.js b/src/jmapNew/shape/graph/TrainWindow/EMouse.js index 46d9b402e..24c0dc460 100644 --- a/src/jmapNew/shape/graph/TrainWindow/EMouse.js +++ b/src/jmapNew/shape/graph/TrainWindow/EMouse.js @@ -4,13 +4,13 @@ export default class EMouse { } mouseover(e) { - if (this.device.prdType) { - this.device.setVisible(true); - const instance = this.device.getInstanceByCode(this.device.model.sectionCode); - if (instance && instance.mouseEvent && instance.mouseEvent.mouseover) { - instance.mouseEvent.mouseEnter(e); - } - } + // if (this.device.prdType) { + // this.device.setVisible(true); + // const instance = this.device.getInstanceByCode(this.device.model.sectionCode); + // if (instance && instance.mouseEvent && instance.mouseEvent.mouseover) { + // instance.mouseEvent.mouseEnter(e); + // } + // } } mouseout(e) { @@ -24,9 +24,9 @@ export default class EMouse { } mouseEnter() { - if (this.device.prdType) { - this.device.setVisible(true); - } + // if (this.device.prdType) { + // this.device.setVisible(true); + // } } mouseLeave() { diff --git a/src/views/newMap/displayNew/menuDemon.vue b/src/views/newMap/displayNew/menuDemon.vue index 7e4983b84..18c71987c 100644 --- a/src/views/newMap/displayNew/menuDemon.vue +++ b/src/views/newMap/displayNew/menuDemon.vue @@ -165,7 +165,7 @@ export default { return this.$store.state.socket.simulationPause; }, isDepoltSim() { - return this.$route.query.prdType === '09'; + return this.$route.query.prdType === '09' || this.project !== 'srsandbox'; } }, watch: { diff --git a/src/views/newMap/jointTrainingNew/menuDemon.vue b/src/views/newMap/jointTrainingNew/menuDemon.vue index 161f23e50..84f63f5e7 100644 --- a/src/views/newMap/jointTrainingNew/menuDemon.vue +++ b/src/views/newMap/jointTrainingNew/menuDemon.vue @@ -33,7 +33,7 @@