From 9c0d69e81ea612943efbbd7744db7a1e10899237 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Thu, 11 Jun 2020 17:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=80=BB=E8=BE=91=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E8=BD=A6=E6=AC=A1=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/newMapdraft/mapoperate/section/logicBlock.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/newMap/newMapdraft/mapoperate/section/logicBlock.vue b/src/views/newMap/newMapdraft/mapoperate/section/logicBlock.vue index 73ab36207..177d624b3 100644 --- a/src/views/newMap/newMapdraft/mapoperate/section/logicBlock.vue +++ b/src/views/newMap/newMapdraft/mapoperate/section/logicBlock.vue @@ -74,6 +74,9 @@ export default { this.editModel.logicSectionCodeList.forEach(logicCode => { const section = this.$store.getters['map/getDeviceByCode'](logicCode); models.push(deepAssign(section, {_dispose: true})); + + const trainWindowModel = this.$store.getters['map/getDeviceByCode'](section.trainWindowCode); + models.push(deepAssign(trainWindowModel, {_dispose: true})); }); if (this.logicNum === 0) { logicSectionCodeList = [];