diff --git a/src/ldmap/components/comRight/right.vue b/src/ldmap/components/comRight/right.vue index 25dca76..6612934 100644 --- a/src/ldmap/components/comRight/right.vue +++ b/src/ldmap/components/comRight/right.vue @@ -406,11 +406,16 @@ function addLine(type) { } const isShow = ref(false) function elevationPolygon(){ - - mapdata.getfindSkeleton().then(res=>{ + if(!isShow.value){ + mapdata.getfindSkeleton().then(res=>{ isShow.value = !isShow.value $ldMap.elevationData(isShow.value,res.data); }) +}else{ + isShow.value = !isShow.value + $ldMap.elevationData(isShow.value,[]); +} + } diff --git a/stats.html b/stats.html index c6c0737..44bb90c 100644 --- a/stats.html +++ b/stats.html @@ -4822,7 +4822,7 @@ var drawChart = (function (exports) {