From 0547901378595158423e4f992ad889abe9d0aad0 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期一, 19 四月 2021 14:03:11 +0800 Subject: [PATCH] 修复图层重复加载、图层动画颜色不一致、地图数据缺失问题 --- src/components/LayerController/logic/WasteGas.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/components/LayerController/logic/WasteGas.js b/src/components/LayerController/logic/WasteGas.js index bc7369b..022588c 100644 --- a/src/components/LayerController/logic/WasteGas.js +++ b/src/components/LayerController/logic/WasteGas.js @@ -61,6 +61,7 @@ const dataValue = { StoragePlaceId: e.layer.options.test.StoragePlaceId } + console.log(dataValue) const GasOnlinedata = { onLineMonEmissPointId: '23', monItemId: '28,31', @@ -86,7 +87,8 @@ instance.$mount() document.body.appendChild(instance.$el) instance.setGasData(e.layer.options.test, result.Result.DataInfo, Mondata.Result.DataInfo, ManualData.Result.DataInfo, 'feiqi') - this.setPanTo(e.latlng, 80) + this.setPanTo(e.latlng, 150) + console.log(e.latlng) } // 涓嶅悓绫诲瀷鍥剧墖鍔犺浇 this.differentTypes = (ContrLevel) => { -- Gitblit v1.8.0