From e50edafb0cd5216c2592c8ad97bbe45cbe76828e Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Sat, 9 May 2020 17:32:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/newMapdraft/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/newMap/newMapdraft/index.vue b/src/views/newMap/newMapdraft/index.vue index 6060ce528..dfb3d8b18 100644 --- a/src/views/newMap/newMapdraft/index.vue +++ b/src/views/newMap/newMapdraft/index.vue @@ -479,11 +479,12 @@ export default { } } }, - verifyMapEvent() { + async verifyMapEvent() { if (this.$refs.jlmapVisual) { const map = this.$store.state.map.map; if (map && this.$route.params.mapId) { - if (this.verifySectionRelation(map) && this.verifySignalPosition(map) && this.verifyInterlockDevice(map) && this.verifyStationPosition(map)) { + const checkInterlockDevice = await this.verifyInterlockDevice(map); + if (this.verifySectionRelation(map) && this.verifySignalPosition(map) && checkInterlockDevice && this.verifyStationPosition(map)) { verifyMap(this.$route.params.mapId).then(res => { if (res.data.length) { this.tableToExcel(res.data);