可向子组件传递paddingTop值
This commit is contained in:
parent
4a20d03c7a
commit
50516eb812
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue