From d58374b6f16433da12bbb5311c64a8c47f4a2f08 Mon Sep 17 00:00:00 2001 From: hbao Date: Sun, 27 Feb 2022 18:59:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E9=87=8D=E7=BD=AE=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Map/MapGisDrawing.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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();