pc-master #203
@ -906,6 +906,13 @@ export default {
 | 
				
			|||||||
    }, 1000);
 | 
					    }, 1000);
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  beforeDestroy() {
 | 
					  beforeDestroy() {
 | 
				
			||||||
 | 
					        // 销毁播放器
 | 
				
			||||||
 | 
					        if (this.player) {
 | 
				
			||||||
 | 
					            // this.player.dispose();
 | 
				
			||||||
 | 
					            this.player.stop()
 | 
				
			||||||
 | 
					            this.player.destroy()
 | 
				
			||||||
 | 
					            this.player = null
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    clearInterval(this.timer_) && this.timer_;
 | 
					    clearInterval(this.timer_) && this.timer_;
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user