From 022e02466285107b4d7c47a22d672dbce7a2de29 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期五, 21 五月 2021 11:29:49 +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