From fe790389ca76554286e656c8dcd1f9748f0f3dc5 Mon Sep 17 00:00:00 2001 From: joshen Date: Thu, 17 Jul 2025 11:24:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoPlayer/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/VideoPlayer/index.vue b/src/components/VideoPlayer/index.vue index e47c828b..13889a46 100644 --- a/src/components/VideoPlayer/index.vue +++ b/src/components/VideoPlayer/index.vue @@ -364,6 +364,11 @@ export default { } // 根据视频的readyState判断下一帧是否已加载,并控制loading的显示 this.isShowLoading = this.videoDom.readyState < 3; + console.log("当前缓存:"+this.videoDom.readyState) + if (this.videoDom.readyState < 3){ + console.log("详细信息",this.videoDom) + console.log("卡了",this.videoDom.readyState) + } //if() //console.log(this.videoDom.readyState,'this.videoDom.readyState'); }, 1000);