派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-17 a70b76f5f880dc6dfc9da8754e1d117c7ca5c7e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * 企业应急
 */
 
// 使用封装方法
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: ''
    })
  }
}