diff --git a/src/views/library.vue b/src/views/library.vue index 2c7fb7b..693b1da 100644 --- a/src/views/library.vue +++ b/src/views/library.vue @@ -286,7 +286,15 @@ export default { getLyric( this.liked.songs[randomNum(0, this.liked.songs.length - 1)] ).then(data => { - if (data.lrc !== undefined) this.lyric = data.lrc.lyric; + if (data.lrc !== undefined) { + let ifl = data.lrc.lyric.split('\n').filter(l => { + if (l.includes('作词')) { + this.lyric = data.lrc.lyric; + return true + ifl; + } + return false; + }); + } }); }, openAddPlaylistModal() {