fix: library extract lyric part (#1201)

This commit is contained in:
memorydream 2022-01-08 17:33:41 +08:00 committed by GitHub
parent 07b5d4de3d
commit 14566b20b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {