diff --git a/src/store/modules/map.js b/src/store/modules/map.js index 20e32d38f..96ac47f31 100644 --- a/src/store/modules/map.js +++ b/src/store/modules/map.js @@ -1,8 +1,6 @@ import deviceType from '@/jmap/constant/deviceType'; import { parser } from '@/jmap/utils/parser'; import Vue from 'vue'; -import { EventEmitter } from 'events'; - /** * 查询向上受影响的Devices * @param {Object} map diff --git a/src/views/map/mapdraft/mapedit/mapoperate/trainwindow.vue b/src/views/map/mapdraft/mapedit/mapoperate/trainwindow.vue index fadcf502e..e72fc051d 100644 --- a/src/views/map/mapdraft/mapedit/mapoperate/trainwindow.vue +++ b/src/views/map/mapdraft/mapedit/mapoperate/trainwindow.vue @@ -192,6 +192,7 @@ export default { const model = { _type: 'TrainWindow', code: getUID('TrainWindow'), + trainWindowShow: true, point: {} }; @@ -248,7 +249,6 @@ export default { } } - console.log(model); return model; }, removeTrainWindow() {