pull/203/head
parent
ad0a991e98
commit
a8399260ef
|
@ -906,6 +906,13 @@ export default {
|
|||
}, 1000);
|
||||
},
|
||||
beforeDestroy() {
|
||||
// 销毁播放器
|
||||
if (this.player) {
|
||||
// this.player.dispose();
|
||||
this.player.stop()
|
||||
this.player.destroy()
|
||||
this.player = null
|
||||
}
|
||||
clearInterval(this.timer_) && this.timer_;
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue