From 9a6647f2567b63363978ea08b971554a60d7c717 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 29 Nov 2019 18:16:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=8C=BA=E6=AE=B5=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=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/mapoperate/section.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/newMap/newMapdraft/mapoperate/section.vue b/src/views/newMap/newMapdraft/mapoperate/section.vue index 64658855f..d7759786e 100644 --- a/src/views/newMap/newMapdraft/mapoperate/section.vue +++ b/src/views/newMap/newMapdraft/mapoperate/section.vue @@ -841,7 +841,12 @@ export default { const end_x = endModel.points[0].x; const start_y = startModel.points[startModel.points.length - 1].y; const end_y = endModel.points[0].y; + if(this.createModel.leftSection==this.createModel.rightSection){ + this.$messageBox('左关联区段不能和右关联区段相同'); + return; + } if (start_x == end_x && start_y == end_y) { + this.$messageBox('左关联区段终点不能和右关联区段起点相同'); return; } model.points = [