From 647c540f0b7c73464788220a905d294e120c9438 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Fri, 20 Nov 2020 22:27:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E6=97=B6=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E5=8F=8A=E6=92=AD=E6=94=BE=E9=80=9F=E7=8E=87?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Play.vue b/src/components/Play.vue index b6487b1..6dd750e 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -518,8 +518,12 @@ export default { this.name = channel.name this.xg.src = channel.url this.xg.play() + document.querySelector('xg-btn-showhistory').style.display = 'none' + document.querySelector('.xgplayer-playbackrate').style.display = 'none' }, playVideo (index = 0, time = 0) { + document.querySelector('xg-btn-showhistory').style.display = 'block' + document.querySelector('.xgplayer-playbackrate').style.display = 'inline-block' this.fetchM3u8List().then(m3u8Arr => { this.xg.src = m3u8Arr[index]