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', () => {