From aae4d4d16265f3cbb597c7a2d375dc659a9b0ba4 Mon Sep 17 00:00:00 2001 From: ival <610568032@qq.com> Date: Fri, 16 Aug 2019 14:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BD=A6=E6=AC=A1=E7=AA=97?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/map.js | 2 -- src/views/map/mapdraft/mapedit/mapoperate/trainwindow.vue | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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() {