diff --git a/src/jmapNew/theme/components/menus/menuBarNew.vue b/src/jmapNew/theme/components/menus/menuBarNew.vue index 5819fe4be..88020390f 100644 --- a/src/jmapNew/theme/components/menus/menuBarNew.vue +++ b/src/jmapNew/theme/components/menus/menuBarNew.vue @@ -54,12 +54,6 @@ export default { } }, mounted() { - const self = this; - window.onclick = function (e) { - if (document.getElementById('menuBar') && !self.$store.state.training.trainingStart) { - self.doClose(false); - } - }; this.initMenu(); }, methods: { diff --git a/src/jmapNew/theme/components/menus/passiveDialog/control.vue b/src/jmapNew/theme/components/menus/passiveDialog/control.vue index 4b9ea3639..93f3e8252 100644 --- a/src/jmapNew/theme/components/menus/passiveDialog/control.vue +++ b/src/jmapNew/theme/components/menus/passiveDialog/control.vue @@ -204,9 +204,12 @@ export default { if (!this.dialogShow) { let info = SimulationType[member.type]; + console.log(member.deviceCode, this.$store.getters['map/getDeviceByCode'](member.deviceCode), '********'); if (member.deviceCode) { const device = this.$store.getters['map/getDeviceByCode'](member.deviceCode); - info = info + `(${device.name})`; + if (device) { + info = info + `(${device.name})`; + } } if (member.userId) { simulationUserList.forEach(item => { diff --git a/src/jmapNew/theme/datie_02/menus/dispatchWorkMenuBar.vue b/src/jmapNew/theme/datie_02/menus/dispatchWorkMenuBar.vue index 624749a06..c27bac9a4 100644 --- a/src/jmapNew/theme/datie_02/menus/dispatchWorkMenuBar.vue +++ b/src/jmapNew/theme/datie_02/menus/dispatchWorkMenuBar.vue @@ -1,27 +1,27 @@