From 4a99f31aed5cc8896ddce5bdc2106ce5a34ef04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E8=99=B9=E5=B7=9D=E9=A3=B4?= Date: Tue, 21 Dec 2021 10:20:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20issues=20#1019=20?= =?UTF-8?q?=E7=9A=84=E8=B7=9F=E8=BF=9B=E9=97=AE=E9=A2=98=20=20(#1113)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * issues #1019 的迫真修复 * 修复 issues #1019 * 修复 issues #1019 * 改回 pickedLyric() 逻辑 * 更进一步的避免取词卡死问题 * 更新网易云 api 到 4.2.0 * Update README.md * Revert "Update README.md" This reverts commit b862ef7d4dabd40c8fe57e4837fc6220806a1456. * Update lyrics.vue * 过滤歌词 --- src/views/library.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/library.vue b/src/views/library.vue index c8243a7..5eb7b28 100644 --- a/src/views/library.vue +++ b/src/views/library.vue @@ -200,8 +200,11 @@ export default { if (this.lyric === undefined) return ''; let lyric = this.lyric.split('\n'); lyric = lyric.filter(l => { - if (l.includes('作词') || l.includes('作曲')) { - return false; + if (l.includes('纯音乐,请欣赏')) { + if (l.includes('作词') || l.includes('作曲')) { + return false; + } + return true; } return true; });