diff --git a/src/components/Sticky/index.vue b/src/components/Sticky/index.vue
index a287216d94cd0ffdf28f1b4defeaa1b0d4051ca2..5624a989a52eba4fc7c906397d4f3e64a3c0ce6a 100644
--- a/src/components/Sticky/index.vue
+++ b/src/components/Sticky/index.vue
@@ -69,7 +69,8 @@ export default {
       this.isSticky = false
     },
     handleScroll() {
-      this.width = this.$el.getBoundingClientRect().width
+      const width = this.$el.getBoundingClientRect().width
+      this.width = width || 'auto'
       const offsetTop = this.$el.getBoundingClientRect().top
       if (offsetTop < this.stickyTop) {
         this.sticky()