hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2024-09-15 22:08:49 2 * @Date: 2024-09-15 22:08:49
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-09-19 18:28:02 4 + * @LastEditTime: 2024-09-20 11:36:43
5 * @FilePath: /map-demo/src/views/bieyuan/info.vue 5 * @FilePath: /map-demo/src/views/bieyuan/info.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -177,7 +177,7 @@ const goTo = () => { // 打开标记地图显示 ...@@ -177,7 +177,7 @@ const goTo = () => { // 打开标记地图显示
177 }) 177 })
178 } else { // 地图页 178 } else { // 地图页
179 // 179 //
180 - emit("closeFloat", false); 180 + // emit("closeFloat", false);
181 // 181 //
182 emit("route", 'marker_id'); 182 emit("route", 'marker_id');
183 } 183 }
......
1 <!-- 1 <!--
2 * @Date: 2023-05-19 14:54:27 2 * @Date: 2023-05-19 14:54:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-09-20 11:13:11 4 + * @LastEditTime: 2024-09-20 11:46:10
5 * @FilePath: /map-demo/src/views/bieyuan/map.vue 5 * @FilePath: /map-demo/src/views/bieyuan/map.vue
6 * @Description: 公众地图主体页面 6 * @Description: 公众地图主体页面
7 --> 7 -->
...@@ -348,15 +348,8 @@ export default { ...@@ -348,15 +348,8 @@ export default {
348 console.warn(entity_info[i]); 348 console.warn(entity_info[i]);
349 let marker_id = this.$route.query.marker_id; 349 let marker_id = this.$route.query.marker_id;
350 if (marker_id) { 350 if (marker_id) {
351 - let test_paths = {
352 - name: 'test',
353 - path: [[117.049724,26.838248],
354 - [117.049564,26.838155],
355 - [117.04941,26.837998],
356 - [117.049233,26.837796],]
357 - }
358 this.$nextTick(() => { 351 this.$nextTick(() => {
359 - this.addSafeRoute(test_paths); 352 + this.addSafeRoute(this.data_path_list[0]);
360 }); 353 });
361 } 354 }
362 }); 355 });
......