From 50516eb8121e7b22fe26379fef3e0f65804a6dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TOP=E7=B3=AF=E7=B1=B3?= <1130395124@qq.com> Date: Tue, 28 Feb 2023 19:57:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E5=90=91=E5=AD=90=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E4=BC=A0=E9=80=92paddingTop=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/layout.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/layout/layout.vue b/src/components/layout/layout.vue index ba22f28..a1e5db9 100644 --- a/src/components/layout/layout.vue +++ b/src/components/layout/layout.vue @@ -96,6 +96,7 @@ export default { // #endif if (this.hasPaddingTop) { this.bodyPt = this.header.pt + this.header.height; + this.$emit("input", this.bodyPt); } }, methods: {