From d195225b4e628e541caca0944d54fec027572a06 Mon Sep 17 00:00:00 2001 From: seatonwan9 <seatonwan9@163.com> Date: 星期日, 30 五月 2021 13:35:20 +0800 Subject: [PATCH] 治理设施测试 --- src/components/LayerController/logic/WasteGas.js | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/components/LayerController/logic/WasteGas.js b/src/components/LayerController/logic/WasteGas.js index 6c2fe65..b591f19 100644 --- a/src/components/LayerController/logic/WasteGas.js +++ b/src/components/LayerController/logic/WasteGas.js @@ -12,8 +12,8 @@ // const ImagBright = '/assets/images/map/exhaust/fq_bright_green.png' const mapApi = require('../../../api/mapApi').default -// const publicBounced = require('../../BaseNav/PublicBounced/PublicBounced').default -const WasteGasIndex = require('../../BaseNav/WasteGas/WasteGasIndex').default +// const publicBounced = require('../../base-page/PublicBounced/PublicBounced').default +const WasteGasIndex = require('../../base-page/WasteGas/WasteGasIndex').default // const WasteGasChats = require('./WasteGasChats').default module.exports = function () { /** @@ -37,12 +37,6 @@ // 瀹氫箟绫诲瀷 鐢ㄦ潵鍖哄垎鏁版嵁 const ContrLevel = data[i].ContrLevel var iconUrl = this.differentTypes(ContrLevel) - // const marker = L.canvasMarker([positionX, positionY], { - // img: { - // // url: 'assets/images/map/marker-icon.png', - // url: iconUrl, - // size: STYLES.ICON_SIZE - // } const marker = L.marker([positionX, positionY], { test: data[i], icon: L.icon({ @@ -68,7 +62,7 @@ const res = e.layer.options.test window.$layer.open({ content: { - content: WasteGasIndex, // 缁勪欢 + comp: WasteGasIndex, // 缁勪欢 parent: this, // 鐖剁粍浠� data: { // 浼犻�掔殑鍙傛暟 storagePlaceId: res -- Gitblit v1.8.0