diff --git a/src/App.vue b/src/App.vue index 2cf0493..38aaff5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,10 +5,10 @@ - + diff --git a/src/components/Aside.vue b/src/components/Aside.vue index 8cbdd33..cc68295 100644 --- a/src/components/Aside.vue +++ b/src/components/Aside.vue @@ -21,13 +21,6 @@ - - - 电视直播 - - - - 播放 diff --git a/src/components/Play.vue b/src/components/Play.vue index 6dd750e..705cf68 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -386,6 +386,10 @@ export default { view () { this.right.show = false this.right.type = '' + if (this.view === 'Play') { + this.getChannelList() + if (this.video.key === '') this.channelListShow = true + } }, video: { handler () { @@ -471,6 +475,7 @@ export default { }, async getUrls () { if (this.video.key === '') { + this.channelListShow = true return false } this.name = '' @@ -484,7 +489,6 @@ export default { if (this.video.iptv) { // 是直播源,直接播放 - await this.getChannelList() this.playChannel(this.video.iptv) } else { this.iptvMode = false @@ -1371,6 +1375,7 @@ export default { }, created () { this.getAllhistory() + this.getChannelList() this.mtEvent() }, async mounted () { diff --git a/src/components/Setting.vue b/src/components/Setting.vue index 4979ec1..4cca9f4 100644 --- a/src/components/Setting.vue +++ b/src/components/Setting.vue @@ -72,6 +72,14 @@ +
+
直播源管理
+
+
+
编辑直播源
+
+
+
源管理