hookehuyr

fix

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