Skip to content

Commit cdde89b

Browse files
authored
fix 'ABackTop visible issue under KeepAlive' (#3802)
1 parent 7c1a14b commit cdde89b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: components/back-top/index.jsx

+5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ const BackTop = {
4444
});
4545
},
4646

47+
activated() {
48+
this.$nextTick(() => {
49+
this.handleScroll();
50+
});
51+
},
4752
beforeDestroy() {
4853
if (this.scrollEvent) {
4954
this.scrollEvent.remove();

0 commit comments

Comments
 (0)