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 @@