派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-03-31 7d3d36128ecd599c7294191fe7ddeddd9de7cec4
src/components/LayerController/logic/WasteGas.js
@@ -18,7 +18,10 @@
   * @param L leaflet对象
   */
  this.init = async (layer, L) => {
    this.animalService = new AnimalService({ L: L, layer: layer })
    this.animalService = new AnimalService({
      L: L,
      layer: layer
    })
    const res = await mapApi.GetWasteGas()
    const data = res.Result.DataInfo || {}
    console.log(data)
@@ -44,7 +47,6 @@
  }
  this.bindTooltip = (layer) => {
    console.log(layer)
    return layer.options.test.Name
  }