소스 검색

优化组件

wulanhaote
hbao 3 년 전
부모
커밋
c7c2e23b9f
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +4
    -2
      src/components/Map/MapGisDrawing.vue

+ 4
- 2
src/components/Map/MapGisDrawing.vue 파일 보기

@@ -237,12 +237,14 @@ export default {
// });
//还原之前图层
$("#"+this.drawingResetMap).click(function () {
console.log(that.closeMoule);
console.log(that.message);
if(that.closeMoule !=null) {
if(this.message.substring(0,1) =="{"){
if(that.message.substring(0,1) =="{"){
map.addLayer(hc_land);
map.removeInteraction(draw);
}
if(this.message.substring(0,1) =="["){
if(that.message.substring(0,1) =="["){
map.addLayer(hc_landFuther);
map.removeLayer(vector_drawing);
}


불러오는 중...
취소
저장