diff --git a/src/components/Map/MapGisDrawing.vue b/src/components/Map/MapGisDrawing.vue index 1da89eb1..a7e6f343 100644 --- a/src/components/Map/MapGisDrawing.vue +++ b/src/components/Map/MapGisDrawing.vue @@ -238,15 +238,13 @@ export default { // }); //还原之前图层 $("#"+this.drawingResetMap).click(function () { - console.log(that.closeMoule); - console.log(that.message); if(that.closeMoule !=null) { if(that.message.substring(0,1) =="{"){ - map.addLayer(hc_land); - map.removeInteraction(draw); + map.addLayer(hc_landFuther); } if(that.message.substring(0,1) =="["){ - map.addLayer(hc_landFuther); + map.addLayer(hc_land); + map.removeInteraction(draw); map.removeLayer(vector_drawing); } that.formSubmit();