diff --git a/components/back-top/index.jsx b/components/back-top/index.jsx index 29a8bed2cc..effed72bf1 100644 --- a/components/back-top/index.jsx +++ b/components/back-top/index.jsx @@ -44,6 +44,11 @@ const BackTop = { }); }, + activated() { + this.$nextTick(() => { + this.handleScroll(); + }); + }, beforeDestroy() { if (this.scrollEvent) { this.scrollEvent.remove();