From af426d28c1e48d1efe8f6ac5e159e370db2cb9bd Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 20 May 2020 23:54:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E8=AF=95=E5=90=AC=E5=88=97=E8=A1=A8=E5=A4=96=E7=9A=84?= =?UTF-8?q?=E6=AD=8C=E6=9B=B2=E6=97=B6=E9=97=B4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 1 + src/renderer/components/core/Player.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index da161078..118e68ed 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -17,6 +17,7 @@ - 修复某些情况下可能导致的音源输出问题 - 修复某些情况下无法开始下载任务的问题 - 修复 tab 组件边框溢出问题 +- 修复错误更新试听列表外的歌曲时间的问题 ### 更变 diff --git a/src/renderer/components/core/Player.vue b/src/renderer/components/core/Player.vue index 1ad59d24..73828d4b 100644 --- a/src/renderer/components/core/Player.vue +++ b/src/renderer/components/core/Player.vue @@ -254,7 +254,7 @@ export default { this.audio.currentTime = this.audioErrorTime this.audioErrorTime = 0 } - if (!this.targetSong.interval && this.listId != 'download') this.updateMusicInfo({ id: 'default', index: this.playIndex, data: { interval: formatPlayTime2(this.maxPlayTime) } }) + if (!this.targetSong.interval && this.listId != 'download') this.updateMusicInfo({ id: this.listId, index: this.playIndex, data: { interval: formatPlayTime2(this.maxPlayTime) } }) this.status = this.statusText = this.$t('core.player.loading') }) this.audio.addEventListener('loadstart', () => {