diff --git a/publish/changeLog.md b/publish/changeLog.md index 0762b232..9f0b9efe 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -5,6 +5,7 @@ ### 修复 - 修复“当前的声音输出设备被改变时暂停播放歌曲”设置无效的问题 +- 修复桌面歌词没有处理停止播放状态的问题 ### 文档 diff --git a/src/renderer-lyric/components/core/Lyric.vue b/src/renderer-lyric/components/core/Lyric.vue index 7afdae25..5fc1d2b8 100644 --- a/src/renderer-lyric/components/core/Lyric.vue +++ b/src/renderer-lyric/components/core/Lyric.vue @@ -207,6 +207,13 @@ export default { this.isPlay = false window.lrc.pause() break + case 'stop': + this.isPlay = false + this.lyrics.lyric = '' + this.lyrics.tlyric = '' + this.lyrics.lxlyric = '' + this.setLyric() + break case 'info': // console.log('info', data) this.lyrics.lyric = data.lrc