From a8399260efdf372af7bb98ecfd46f0f0cf121d1c Mon Sep 17 00:00:00 2001 From: sunmeng <1162067978@qq.com> Date: Tue, 17 Dec 2024 08:48:38 +0800 Subject: [PATCH] 1 --- src/views/page/largeScreen.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/page/largeScreen.vue b/src/views/page/largeScreen.vue index 04cf2ce..cdee756 100644 --- a/src/views/page/largeScreen.vue +++ b/src/views/page/largeScreen.vue @@ -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: {