pull/203/head
parent
ad0a991e98
commit
a8399260ef
|
@ -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…
Reference in New Issue