* 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
This commit is contained in:
是虹川飴 2021-12-20 19:00:59 +08:00 committed by qier222
parent 8151343787
commit fffed249d9
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D

View file

@ -338,7 +338,13 @@ export default {
}, },
clickLyricLine(value, startPlay = false) { clickLyricLine(value, startPlay = false) {
// TODO: // TODO:
if (window.getSelection().toString().length === 0) { let jumpFlag = false;
this.lyric.filter(function (item) {
if (item.content == '纯音乐,请欣赏') {
jumpFlag = true;
}
});
if (window.getSelection().toString().length === 0 && !jumpFlag) {
this.player.seek(value); this.player.seek(value);
} }
if (startPlay === true) { if (startPlay === true) {