Browse Source

Merge branch 'master' of http://www.sysuimars.cn:3000/feiniao/feiniao-pc-vue

刘秀芳 1 tuần trước cách đây
mục cha
commit
6ec933129c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/views/warningHome/map/mockFarmLayer.js

+ 1 - 0
src/views/warningHome/map/mockFarmLayer.js

@@ -112,6 +112,7 @@ class MockFarmLayer {
                 let grow = (f.get("grow") === "花苞" || f.get("grow") === "露白") ? "谢花" : f.get("grow");
                 let phenology = "褪绿";
                 let img = f.get("img");
+                img = img || 'https://birdseye-img.sysuimars.com/birdseye-look-mini/img_crop/xiaoguo/1.png'
                 let name = f.get("name");
                 let id = f.get("mapId");
                 let styles = [that.pointStyle, that.cloudStyle(img), that.nameStyle(id, name)];