From 4629d4cd3e3b14680326d48b7cddd77cfbe22632 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Thu, 3 Mar 2022 17:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A1=8C=E9=9D=A2=E6=AD=8C?= =?UTF-8?q?=E8=AF=8D=E6=B2=A1=E6=9C=89=E5=A4=84=E7=90=86=E5=81=9C=E6=AD=A2?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E7=8A=B6=E6=80=81=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-lyric/components/core/Lyric.vue | 7 +++++++ 2 files changed, 8 insertions(+) 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