소스 검색

style: 调整地图的高度

xiaoxian521 3 년 전
부모
커밋
3e4b49b4be
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/ReMap/src/Amap.vue

+ 1 - 1
src/components/ReMap/src/Amap.vue

@@ -134,7 +134,7 @@ onUnmounted(() => {
 
 <style lang="scss" scoped>
 #mapview {
-  height: 100%;
+  height: 100vh;
 }
 
 :deep(.amap-marker-label) {