mork 1 týždeň pred
rodič
commit
7301cca90e
1 zmenil súbory, kde vykonal 0 pridanie a 5 odobranie
  1. 0 5
      src/components/map/ProMap.vue

+ 0 - 5
src/components/map/ProMap.vue

@@ -140,7 +140,6 @@ function renderGeoJson(fet:any, styleConfig = {}) {
     fillColor: 'rgba(0,150,255,0.2)',
     fillOutlineColor: '#0066ff'
   }, styleConfig);
-  console.log(geoData)
   // 处理输入,统一转为 FeatureCollection
   let fc;
   if (geoData?.type === 'FeatureCollection') {
@@ -267,7 +266,6 @@ const mapClickValue = (e:any)  => {
     };
     
     // 以下弹窗(注意要使用 fet.properties)
-    console.log(fet.properties);
     let str = "";
     for (let item in fet.properties) {
         if (FILTER_PARAM.value.map(ev => ev.value).includes(item)) {
@@ -379,7 +377,6 @@ const handleGeoChange = () => {
 // 手动开启绘制多边形
 const startDrawPolygon = () => {
   if (!draw) {
-    // console.warn('MapDraw: 地图尚未加载完成,请稍后再试')
     return
   }
   draw.changeMode('draw_polygon')
@@ -387,7 +384,6 @@ const startDrawPolygon = () => {
 // 清空绘制
 const clearDraw = () => {
   if (!draw) {
-    // console.warn('MapDraw: 地图尚未加载完成,请稍后再试')
     return
   }
   draw.deleteAll()
@@ -396,7 +392,6 @@ const clearDraw = () => {
 // 切换选择编辑模式
 const editMode = () => {
   if (!draw) {
-    // console.warn('MapDraw: 地图尚未加载完成,请稍后再试')
     return
   }
   draw.changeMode('simple_select')