From 24b84e4b12a3d2a51a0cb1d0ebf24d4496fdc288 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Wed, 7 Oct 2020 22:10:11 +0200 Subject: [PATCH] =?UTF-8?q?=E6=92=AD=E6=94=BE=E7=94=B5=E8=A7=86=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E6=97=B6,=E5=88=97=E8=A1=A8=E4=B8=BA=E9=A2=91?= =?UTF-8?q?=E9=81=93=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/IPTV.vue | 4 +-- src/components/Play.vue | 57 ++++++++++++++++++++++++++--------------- 2 files changed, 38 insertions(+), 23 deletions(-) diff --git a/src/components/IPTV.vue b/src/components/IPTV.vue index 05d1d14..7b3e7cc 100644 --- a/src/components/IPTV.vue +++ b/src/components/IPTV.vue @@ -94,7 +94,7 @@ export default { methods: { ...mapMutations(['SET_VIEW', 'SET_DETAIL', 'SET_VIDEO', 'SET_SHARE']), playEvent (e) { - this.video = { info: { url: e.url } } + this.video = { iptv: { name: e.name, url: e.url } } this.view = 'Play' }, containSearchKeyword (i) { @@ -189,7 +189,7 @@ export default { }, getAllSites () { iptv.all().then(res => { - this.iptvList = [...new Set(res)] + this.iptvList = res }) } }, diff --git a/src/components/Play.vue b/src/components/Play.vue index d597c27..6ac6133 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -113,7 +113,7 @@