修复原始歌词存在偏移时,歌词偏移设置的重置未按预期工作的问题

This commit is contained in:
lyswhut
2022-05-09 14:07:31 +08:00
parent e859d39b2b
commit 784515e411
7 changed files with 43 additions and 24 deletions
@@ -78,12 +78,14 @@ export default {
lyric: '',
tlyric: '',
lxlyric: '',
rawlyric: '',
musicInfo: null,
})
const updateMusicInfo = () => {
lyricInfo.lyric = playerMusicInfo.lrc
lyricInfo.tlyric = playerMusicInfo.tlrc
lyricInfo.lxlyric = playerMusicInfo.lxlrc
lyricInfo.rawlyric = playerMusicInfo.rawlrc
lyricInfo.musicInfo = musicInfoItem.value
}
const handleShowLyricMenu = event => {
@@ -98,7 +100,7 @@ export default {
tlrc: tlyric,
lxlrc: lxlyric,
})
console.log(offset)
// console.log(offset)
window.eventHub.emit(eventPlayerNames.updateLyricOffset, offset)
}