From 175db8fd0f26c8f7b01c7bc717cbf46cebad9805 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期四, 01 四月 2021 18:10:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/components/LayerController/logic/WasteWater.js | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/LayerController/logic/WasteWater.js b/src/components/LayerController/logic/WasteWater.js index 5a568e9..210afcd 100644 --- a/src/components/LayerController/logic/WasteWater.js +++ b/src/components/LayerController/logic/WasteWater.js @@ -52,13 +52,15 @@ this.clickListener = async (e) => { // console.log(e) this.animalService.pulseEffect(e.latlng) - const dataValue = { - StoragePlaceId: e.layer.options.test.StoragePlaceId - } - const result = await mapApi.getWasteWater(dataValue) + // const dataValue = { + // StoragePlaceId: e.layer.options.test.StoragePlaceId + // } + // const result = await mapApi.getWasteWater(dataValue) + // console.log(result) const PublicBounced = window.Vue.extend(publicBounced) const instance = new PublicBounced() - instance.setData(result) + instance.setGasData(e.layer.options.test, 'feishui') + console.log(e.layer.options.test) instance.$mount() document.body.appendChild(instance.$el) } -- Gitblit v1.8.0