From 92230b628efc92953e3112c6a7e886f46dbadb35 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期四, 20 五月 2021 09:16:31 +0800 Subject: [PATCH] 处置信息弹框关闭 --- src/components/LayerController/logic/WasteGas.js | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/src/components/LayerController/logic/WasteGas.js b/src/components/LayerController/logic/WasteGas.js index 6c2fe65..935c9ff 100644 --- a/src/components/LayerController/logic/WasteGas.js +++ b/src/components/LayerController/logic/WasteGas.js @@ -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