From e616aa5e2a71e59ee256d3a8266747d2e864e5e3 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Sun, 13 Dec 2020 22:24:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=99=A8=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=82=B9=E6=92=AD=E6=94=BE=EF=BC=8C=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=AE=B0=E5=BD=95=E4=B8=BA=E7=A9=BA=E6=97=B6=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E5=81=9C=E6=AD=A2=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Play.vue b/src/components/Play.vue index 823bed4..a5a791b 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -1406,6 +1406,10 @@ export default { if (!this.video.key) { if (!this.video.iptv && !this.video.info.ids) { // 如果当前播放页面的播放信息没有被赋值,播放历史记录 + if (this.right.history.length === 0) { + this.videoStop() + return + } var historyItem = this.right.history[0] this.video = { key: historyItem.site, info: { id: historyItem.ids, name: historyItem.name, index: historyItem.index } } this.getUrls()