diff --git a/src/components/Play.vue b/src/components/Play.vue index 73b6924..8f5742f 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -203,7 +203,7 @@ -
+
频道列表 @@ -925,6 +925,7 @@ export default { closeListEvent () { this.right.show = false this.right.type = '' + this.state.showChannelList = false }, exportM3u8 () { const m3u8Arr = [] @@ -1408,6 +1409,7 @@ export default { if (!this.video.iptv && !this.video.info.ids) { // 如果当前播放页面的播放信息没有被赋值,播放历史记录 if (this.right.history.length === 0) { + this.$message.error('历史记录为空,无法播放!') this.videoStop() return } @@ -1416,6 +1418,7 @@ export default { this.getUrls() } else if (this.video.iptv && !this.isLive) { this.playChannel(this.video.iptv) + this.state.showChannelList = false } } })