修复桌面歌词没有处理停止播放状态的问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user