From 14566b20b295153ca4eed4a5163c62e7b195768e Mon Sep 17 00:00:00 2001 From: memorydream <34763046+memorydream@users.noreply.github.com> Date: Sat, 8 Jan 2022 17:33:41 +0800 Subject: [PATCH] fix: library extract lyric part (#1201) --- src/views/library.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/library.vue b/src/views/library.vue index 3d93e19..32acb7d 100644 --- a/src/views/library.vue +++ b/src/views/library.vue @@ -211,7 +211,7 @@ import MvRow from '@/components/MvRow.vue'; * @returns {string} The lyric part */ function extractLyricPart(rawLyric) { - return rawLyric.split(']')[1].trim(); + return rawLyric.split(']').pop().trim(); } export default {