左键点击关闭车次窗

This commit is contained in:
fan 2021-06-30 14:55:28 +08:00
parent 3992310427
commit bcf9cc1d7f

View File

@ -95,6 +95,7 @@ export default {
return device; return device;
}, },
clickEvent(em) { clickEvent(em) {
this.$store.dispatch('map/setTrainWindowShow', false);
var device = { _type: em.deviceType, _code: em.deviceCode, _event: MouseEvent.Left }; var device = { _type: em.deviceType, _code: em.deviceCode, _event: MouseEvent.Left };
const lineCode = this.$store.getters['map/lineCode']; const lineCode = this.$store.getters['map/lineCode'];