浏览代码

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>
 <style lang="scss" scoped>
 #mapview {
 #mapview {
-  height: 100%;
+  height: 100vh;
 }
 }
 
 
 :deep(.amap-marker-label) {
 :deep(.amap-marker-label) {