fix: 修复 issues #1019 的跟进问题 (#1113)

* issues #1019 的迫真修复

* 修复 issues #1019

* 修复 issues #1019

* 改回 pickedLyric() 逻辑

* 更进一步的避免取词卡死问题

* 更新网易云 api 到 4.2.0

* Update README.md

* Revert "Update README.md"

This reverts commit b862ef7d4d.

* Update lyrics.vue

* 过滤歌词
This commit is contained in:
是虹川飴 2021-12-21 10:20:04 +08:00 committed by GitHub
parent 47862d6710
commit 4a99f31aed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
});