fix 'ABackTop visible issue under KeepAlive' (#3802)
							parent
							
								
									7c1a14bb5e
								
							
						
					
					
						commit
						cdde89b17e
					
				| 
						 | 
				
			
			@ -44,6 +44,11 @@ const BackTop = {
 | 
			
		|||
    });
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  activated() {
 | 
			
		||||
    this.$nextTick(() => {
 | 
			
		||||
      this.handleScroll();
 | 
			
		||||
    });
 | 
			
		||||
  },
 | 
			
		||||
  beforeDestroy() {
 | 
			
		||||
    if (this.scrollEvent) {
 | 
			
		||||
      this.scrollEvent.remove();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue