diff --git a/src/components/Map/popup.vue b/src/components/Map/popup.vue index 0f5830e..f27984c 100644 --- a/src/components/Map/popup.vue +++ b/src/components/Map/popup.vue @@ -43,7 +43,7 @@ }, ]; AllData.dataList.comIDs = ["zhoubianjiejing"]; - bus.emit("DynamicBus", AllData.dataList); + bus.emit("DynamicBus",AllData.dataList); }; onMounted(() => { bus.on("popupcontent", (params) => { @@ -85,7 +85,7 @@ AllData.dataList.rainpump = JSON.parse(AllData.dataList.rainpump); AllData.dataList.sweagepump = JSON.parse(AllData.dataList.sweagepump); } - + AllData.dataList.geometry = `POINT${params.point.join(' ')}` window.pipePopup = new mapboxL7.Popup({ html: pipePopupDiv, lngLat: {