Explorar o código

修改新增农事bug

shuhao hai 3 semanas
pai
achega
1c6d23e11f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/static_map_change/Layers.js

+ 1 - 1
src/components/static_map_change/Layers.js

@@ -107,7 +107,7 @@ class StaticMapLayers {
     }
 
     addStaticImgLayer(map, item){
-        item.options["opacity"] = 0.5
+        item["opacity"] = 0.5
         let imgLayer = new StaticImgLayer(item.url, item, 3, map);
         imgLayer.hide()
         if(item.legendData){