diff --git a/src/views/newMap/newMapdraft/dataRelation/routeoperate/protect.vue b/src/views/newMap/newMapdraft/dataRelation/routeoperate/protect.vue index e38c2e521..1668fdf17 100644 --- a/src/views/newMap/newMapdraft/dataRelation/routeoperate/protect.vue +++ b/src/views/newMap/newMapdraft/dataRelation/routeoperate/protect.vue @@ -3,7 +3,7 @@
- + - {{ $t('map.activate') }} @@ -272,8 +268,6 @@ export default { } } else if (selected._type.toUpperCase() === 'Switch'.toUpperCase() && this.field.toUpperCase() === 'routeOverlapSwitchList'.toUpperCase()) { this.overlapCode = selected.code; - } else if (selected._type.toUpperCase() === 'Section'.toUpperCase() && this.field.toUpperCase() === 'unlockSectionCode'.toUpperCase()) { - this.addModel.unlockSectionCode = selected.code; } } }, diff --git a/src/views/newMap/newMapdraft/dataRelation/routeoperate/route.vue b/src/views/newMap/newMapdraft/dataRelation/routeoperate/route.vue index 9b7cf0894..d4b028bf4 100644 --- a/src/views/newMap/newMapdraft/dataRelation/routeoperate/route.vue +++ b/src/views/newMap/newMapdraft/dataRelation/routeoperate/route.vue @@ -350,9 +350,7 @@ export default { this.changeSectionSelected(objOld, false, 'routePhysicalSection'); } if (obj && obj.length) { - if (!this.addModel.code) { - this.$refs.protect.addModel.unlockSectionCode = obj[obj.length - 1]; - } + this.$refs.protect.addModel.unlockSectionCode = obj[obj.length - 1]; this.changeSectionSelected(obj, true, 'routePhysicalSection'); } },