From 2a99e1fa805bd78c7e10ab937e136ff627c3b271 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 08 Dec 2023 15:23:20 +0800
Subject: [PATCH] PC路网处理
---
src/components/map/index.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index 83eddc8..27741a2 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -174,6 +174,8 @@
this.$refs.leftNav.initialize(newData)
+ this.$refs.campusNavRoute.closeModel()
+
this.createdLayers(newData)
})
}
@@ -239,6 +241,7 @@
})
})
},
+
methods: {
createdLayers (campusKey) {
const that = this
@@ -361,7 +364,9 @@
let result = res.data.data
this.$store.dispatch('setOurDataInPoput', {
- item: result
+ item: result,
+ lng: event.event.coordinate[0],
+ lat: event.event.coordinate[1]
})
this.openPopups({
@@ -385,7 +390,7 @@
mapClick (e) {
this.$refs.campusNavRoute.shortcutShow(e)
- // this.$refs.campusBuildingSearch.shortcutShow(e)
+ this.$refs.campusBuildingSearch.shortcutShow(e)
},
campusCut (campusKey) {
--
Gitblit v1.9.3