From ded5c397901127eb726ddf2cdec6813ec1e72b6e Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Thu, 17 Dec 2020 16:36:40 +0800 Subject: [PATCH] =?UTF-8?q?Play=E9=A2=91=E9=81=93=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0clickaway=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 } } })