From 6ebc19494c3f7a7196235afce7ca234bde6a6e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 30 Dec 2024 13:34:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=82=AC=E6=B5=AE=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/layout/components/main/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/layout/components/main/index.vue b/src/views/layout/components/main/index.vue index 4935eaa1..e62ef3e8 100644 --- a/src/views/layout/components/main/index.vue +++ b/src/views/layout/components/main/index.vue @@ -165,7 +165,9 @@ const set_padding_top_value = () => { }); // 处理另外一个数组的时候,将所有的padding_top_safe_value设置为0 diy_data.value.forEach((item: any) => { - item.com_data.style.common_style.padding_top_safe_value = 0; + if (item.key !== 'float-window') { + item.com_data.style.common_style.padding_top_safe_value = 0; + } }); } else if (diy_data.value.length > 0) { // 处理另外一个数组的时候,将所有的padding_top_safe_value设置为0