diff --git a/src/components/affix/affix.vue b/src/components/affix/affix.vue index 8b9cb5e3..af9874f9 100644 --- a/src/components/affix/affix.vue +++ b/src/components/affix/affix.vue @@ -101,7 +101,7 @@ this.slotStyle = { width: this.$refs.point.clientWidth + 'px', height: this.$refs.point.clientHeight + 'px' - } + }; this.slot = true; this.styles = { top: `${this.offsetTop}px`,