From 8e4a0870a1bc76d2e9f01cd16ecacccb79eec314 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Mon, 26 Oct 2020 13:42:23 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=E6=92=AD=E6=94=BE=E7=94=B5=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E9=81=93=E6=97=B6,=E6=9B=B4=E6=96=B0=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E9=A1=B5=E9=9D=A2=E7=9A=84=E5=B7=A6=E4=B8=8A=E8=A7=92?= =?UTF-8?q?=E6=A0=87=E9=A2=98?= 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 8fa1194..bc0c4de 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -687,6 +687,7 @@ export default { if (this.video.iptv) { var channel = this.iptvList[n] this.video.iptv = channel + this.name = this.video.iptv.name // 是直播源,直接播放 this.playUrl(channel.url) } else { From 336ea08c695d93bcb6bc77198240197206d904b7 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Mon, 26 Oct 2020 13:47:47 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Film=E9=A1=B5=E9=9D=A2=E5=8F=AA=E8=8E=B7?= =?UTF-8?q?=E5=8F=96active=E7=9A=84=E6=BA=90=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Film.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Film.vue b/src/components/Film.vue index 4bd05c2..2d4ed58 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -474,14 +474,13 @@ export default { }, getAllsites () { sites.all().then(res => { - console.log(res, 'film get all sites') if (res.length <= 0) { this.site = {} this.type = {} this.list = [] } else { this.sites = res.filter((item, index, self) => { - return self.indexOf(item) >= 0 + return self.indexOf(item) >= 0 && item.isActive }) this.site = this.sites[0] this.siteClick(this.site)