diff --git a/src/views/newMap/newMapdraft/dataRelation/bigroutingoperate/route.vue b/src/views/newMap/newMapdraft/dataRelation/bigroutingoperate/route.vue index 088d795bb..1464bb9e9 100644 --- a/src/views/newMap/newMapdraft/dataRelation/bigroutingoperate/route.vue +++ b/src/views/newMap/newMapdraft/dataRelation/bigroutingoperate/route.vue @@ -328,7 +328,7 @@ export default { if (newModel.pathSwitchPosition && !newModel.pathSwitchPosition.switchCode) { delete newModel.pathSwitchPosition; } - that.addModel.code = setUID('Route'); + newModel.code = setUID('Route'); that.loading = true; postBigRoute(newModel, that.mapInfo.id).then(res=>{ that.$message.success(that.$t('tip.creatingSuccessful'));