mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
fix song play
This commit is contained in:
@@ -72,8 +72,8 @@ async function GetLyric(song: SongsInfo) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
function mergeLyrics(originalLyrics: string, translatedLyrics: string): string {
|
function mergeLyrics(originalLyrics: string, translatedLyrics: string): string {
|
||||||
const originalLines = originalLyrics.split('\n')
|
const originalLines = originalLyrics?.split('\n') ?? []
|
||||||
const translatedLines = translatedLyrics.split('\n')
|
const translatedLines = translatedLyrics?.split('\n') ?? []
|
||||||
|
|
||||||
let mergedLyrics = ''
|
let mergedLyrics = ''
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user