From 8a3046817d6bf207f38accd0cd6b65d770db3bea Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 12 九月 2025 17:20:08 +0800 Subject: [PATCH] 1. 修改静安第三方接口url地址 2. 修改静安新增设备匹配功能中,上传的经纬度信息为我方的信息 --- src/components/map/BaseMap.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/map/BaseMap.vue b/src/components/map/BaseMap.vue index 2da91ff..11e34ed 100644 --- a/src/components/map/BaseMap.vue +++ b/src/components/map/BaseMap.vue @@ -3,12 +3,15 @@ </template> <script setup> -import { onMounted } from 'vue'; -import { createMap } from '@/utils/map/index_old'; +import { onMounted, onUnmounted } from 'vue'; +import { createMap, map } from '@/utils/map/index'; onMounted(() => { // 楂樺痉鍦板浘鍒濆鍖� createMap('container'); }); +onUnmounted(() => { + map?.destroy(); +}); </script> <style> #container { -- Gitblit v1.9.3