src/components/LayerController/logic/WasteGas.js
@@ -21,7 +21,10 @@ */ this.init = async (layer, L) => { // console.log(WasteGasChats) this.animalService = new AnimalService({ L: L, layer: layer }) this.animalService = new AnimalService({ L: L, layer: layer }) const res = await mapApi.getWasteGas() // console.log(res) const data = res.Result.DataInfo || {} @@ -53,7 +56,7 @@ } this.bindTooltip = (layer) => { return layer.options.test.Name return '<div class="company-bindTooltip-hover"><h3>天津石化</h3></div>' + layer.options.test.Name } this.clickListener = async (e) => {