可向子组件传递paddingTop值

This commit is contained in:
TOP糯米 2023-02-28 19:57:28 +08:00
parent 4a20d03c7a
commit 50516eb812
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ export default {
// #endif // #endif
if (this.hasPaddingTop) { if (this.hasPaddingTop) {
this.bodyPt = this.header.pt + this.header.height; this.bodyPt = this.header.pt + this.header.height;
this.$emit("input", this.bodyPt);
} }
}, },
methods: { methods: {