修复 OpenAPI 的 lyricLineAllText 在切换到无歌词的音乐时内容没有更新的问题(#1925)

This commit is contained in:
lyswhut
2024-06-04 18:42:52 +08:00
parent 435fec2f1c
commit 3c0daa2bf1
2 changed files with 7 additions and 0 deletions
@@ -46,12 +46,14 @@ export default () => {
picUrl: musicInfo.pic ?? '',
lyric: musicInfo.lrc ?? '',
lyricLineText: '',
lyricLineAllText: '',
})
}
const handleSetLyric = () => {
sendPlayerStatus({
lyric: musicInfo.lrc ?? '',
lyricLineText: '',
lyricLineAllText: '',
})
}
const handleSetPic = () => {