diff --git a/src/views/newMap/newMapdraft/mapoperate/section.vue b/src/views/newMap/newMapdraft/mapoperate/section.vue index 154212eee..58bcb4256 100644 --- a/src/views/newMap/newMapdraft/mapoperate/section.vue +++ b/src/views/newMap/newMapdraft/mapoperate/section.vue @@ -910,17 +910,6 @@ export default { copySection.logicSectionShow = model.logicSectionShow; // copySection.trainPosType = model.trainPosType; models.push(copySection); - } else if ( model.code !== section.code && section.type === '02' && model.type === '02' && section.parentCode === model.parentCode) { - const copySection = deepAssign({}, section); - if (this.checkPointsCoincide(this.oldPoint[0], section.points[section.points.length - 1])) { - copySection.points[copySection.points.length - 1].x = model.points[0].x; - copySection.points[copySection.points.length - 1].y = model.points[0].y; - } - if (this.checkPointsCoincide(this.oldPoint[this.oldPoint.length - 1], section.points[0])) { - copySection.points[0].x = model.points[model.points.length - 1].x; - copySection.points[0].y = model.points[model.points.length - 1].y; - } - models.push(copySection); } else if (model.code !== section.code && (section.type === '01' || section.type === '03')) { const copySection = deepAssign({}, section); let updataFlag = false;