派生自 wuyushui/SewerAndRainNetwork

src/components/LayerController/logic/GovernEquipment.js
@@ -2,7 +2,7 @@
 * 污染源
 */
// 信息组件
const GovernEquipmentIndex = require('../../base-page/RiskSource/RiskSourceIndex.vue').default
const GovernEquipmentIndex = require('../../base-page/GovernEquipment/GovernEquipmentIndex').default
// 使用封装方法
const AnimalService = require('../service/AnimalService').default
// 请求接口数据
@@ -30,8 +30,8 @@
        totransferData: data[i],
        icon: L.icon({
          iconUrl: iconUrl,
          iconSize: [30, 30],
          iconAnchor: [15, 15]
          iconSize: [20, 20],
          iconAnchor: [10, 10]
        })
      })
      layer.addLayer(marker)
@@ -63,7 +63,7 @@
        comp: GovernEquipmentIndex, // 组件
        parent: this, // 父组件
        data: { // 传递的参数
          riskSourceId: e.layer.options.totransferData.no
          governId: e.layer.options.totransferData.no
        }
      },
      title: title // 标题