From 0e571efd6f995bfe5c966ad6f819142ad44defd8 Mon Sep 17 00:00:00 2001 From: hunlongyu Date: Sun, 31 May 2020 13:40:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=91=20=E6=97=A5=E5=B8=B8=E5=86=99BUG,?= =?UTF-8?q?=20=E6=94=B9BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/components/Play.vue | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e1b6904..1c66d2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zy", - "version": "1.0.14", + "version": "1.0.15", "private": true, "author": { "name": "Hunlongyu", diff --git a/src/components/Play.vue b/src/components/Play.vue index 8bac5ff..2e0127c 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -193,6 +193,9 @@ export default { }, 'video.index' () { this.getUrls() + }, + 'video.detail' () { + this.getUrls() } }, methods: { @@ -312,24 +315,20 @@ export default { this.right.type = '' }, nextEvent () { - console.log(this.video.index, 'inex 1') if (this.video.index < this.right.listData.length - 1) { this.video.index++ this.video.currentTime = 0 } else { this.$m.warning(this.$t('last_video')) } - console.log(this.video.index, 'inex 2') }, prevEvent () { - console.log(this.video.index, 'inex 3') if (this.video.index > 0) { this.video.index-- this.video.currentTime = 0 } else { this.$m.warning(this.$t('first_video')) } - console.log(this.video.index, 'inex 4') }, listEvent () { if (this.right.type === 'list') {