From 047224ce80d299659cb367c105c50906e080568d Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Thu, 21 Jan 2021 17:11:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=B4=E6=92=AD=E6=97=B6?= =?UTF-8?q?=E8=A7=A6=E5=8F=91timeupdate=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Play.vue b/src/components/Play.vue index 49ab90b..522ca97 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -1443,6 +1443,7 @@ export default { }) this.xg.on('timeupdate', () => { + if (this.isLive) return const key = this.video.key + '@' + this.video.info.id if (VIDEO_DETAIL_CACHE[key] && VIDEO_DETAIL_CACHE[key].endPosition) { const time = this.xg.duration - VIDEO_DETAIL_CACHE[key].endPosition - this.xg.currentTime