From fe3b1395c942439c9f9744ba5bb516bc2edfb05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Fri, 6 Sep 2024 11:42:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/layout/components/main/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/layout/components/main/index.vue b/src/views/layout/components/main/index.vue index 950acdd7..3d5a1d1d 100644 --- a/src/views/layout/components/main/index.vue +++ b/src/views/layout/components/main/index.vue @@ -290,6 +290,7 @@ const model_style = computed(() => { // 40是容器的上下间距, 60是顶部的高度 const container_height = window.innerHeight - 100; let bottom = 0; + // 上下有除了padding间距时的处理逻辑 if (container_height > 844) { // 上下高度 const height = (window.innerHeight - 906) / 2;