From c4e9d054916c3f085329a67c7664b4c54f9137f9 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 07 五月 2024 17:36:09 +0800 Subject: [PATCH] 完成折线图相关功能的迁移 --- src/components/map/BaseMap.vue | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/components/map/BaseMap.vue b/src/components/map/BaseMap.vue index 21bf76e..64f2e53 100644 --- a/src/components/map/BaseMap.vue +++ b/src/components/map/BaseMap.vue @@ -4,16 +4,10 @@ <script setup> import { onMounted } from 'vue'; - -// window._AMapSecurityConfig = { -// securityJsCode: '銆屾偍鐢宠鐨勫畨鍏ㄥ瘑閽ャ��' -// } - +import { createMap } from '@/utils/map/index_old'; onMounted(() => { - // const marker = new AMap.Marker({ - // position: [116.39, 39.9] //浣嶇疆 - // }); - // map.add(marker); //娣诲姞鍒板湴鍥� + // 楂樺痉鍦板浘鍒濆鍖� + createMap('container'); }); </script> <style> -- Gitblit v1.9.3