优化歌词播放机制

This commit is contained in:
lyswhut
2022-03-18 11:27:31 +08:00
parent 8453ad0fb4
commit 64eea42092
2 changed files with 8 additions and 4 deletions
+3 -1
View File
@@ -221,7 +221,9 @@ export default {
this.setLyric()
this.$nextTick(() => {
this.lyric.line = data.line
rendererSend(NAMES.winLyric.get_lyric_info, 'status')
setTimeout(() => {
rendererSend(NAMES.winLyric.get_lyric_info, 'status')
})
})
case 'music_info':
this.musicInfo.name = data.name