From 2d3d56ff801b73afdb779267004d740f9beafe57 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 31 十月 2023 16:09:44 +0800 Subject: [PATCH] 2023.10.31 --- src/components/map/BaseMap.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/map/BaseMap.vue b/src/components/map/BaseMap.vue index 9bc1cd2..75b2527 100644 --- a/src/components/map/BaseMap.vue +++ b/src/components/map/BaseMap.vue @@ -4,7 +4,6 @@ <script setup> import { onMounted } from 'vue'; -import { map, AMap } from './baseMap'; // window._AMapSecurityConfig = { // securityJsCode: '銆屾偍鐢宠鐨勫畨鍏ㄥ瘑閽ャ��' @@ -17,13 +16,13 @@ // map.add(marker); //娣诲姞鍒板湴鍥� }); </script> -<style> +<style scoped> #container { position: relative; width: 100%; height: 100vh; - min-height: 900px; - min-width: 1440px; + min-height: var(--screen-min-height); + min-width: var(--screen-min-width); z-index: 0px; } </style> -- Gitblit v1.9.3