Skip to content

Commit 1772cc1

Browse files
committed
🐞fix: 修复错误的类型
#610
1 parent be0f4ca commit 1772cc1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/Modal/CopyLyrics.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ const rawLyrics = computed(() => {
5656
5757
const displayLyrics = computed(() => {
5858
return rawLyrics.value.map((line, index) => {
59-
// 兼容 lrcData (content) 和 yrcData (words)
6059
const text =
61-
line.words?.map((w) => w.word).join("") || (line as any).content || (line as any).text || "";
60+
line.words?.map((w) => w.word).join("") || "";
6261
const translation = line.translatedLyric || "";
6362
const romaji = line.romanLyric || line.words?.map((w) => w.romanWord).join("") || "";
6463
return {

0 commit comments

Comments
 (0)