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') {