派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-18 be771111fb2a9770a9fbf13c5d7e976bf8688b6d
src/components/LayerController/logic/EnterpriseEmergency.js
@@ -2,6 +2,28 @@
 * 企业应急
 */
module.exports = function () {
// 使用封装方法
const AnimalService = require('../service/AnimalService').default
module.exports = function () {
  this.init = async (layer, L) => {
    this.animalService = new AnimalService({
      L: L,
      layer: layer
    })
  }
  this.bindTooltip = (layer) => {
    return 'layer'
  }
  this.click = () => {
    window.$layer.open({
      content: {
        content: 'Popup', // 组件
        data: { // 传递的参数
          datas: 'popupDatas'
        }
      },
      title: ''
    })
  }
}