mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
* 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:
parent
d322a29b72
commit
e9d9c3aee8
1 changed files with 7 additions and 1 deletions
|
|
@ -338,7 +338,13 @@ export default {
|
|||
},
|
||||
clickLyricLine(value, startPlay = false) {
|
||||
// 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);
|
||||
}
|
||||
if (startPlay === true) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue