修复首句歌词被提前播放的问题

This commit is contained in:
lyswhut
2023-08-11 13:28:29 +08:00
parent e1646a3127
commit c2789312ba
5 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ export const init = () => {
lrc = new Lyric({
shadowContent: false,
onPlay(line, text) {
setText(text, line)
setText(text, Math.max(line, 0))
setStatusText(text)
// console.log(line, text)
},