fix(AMLyric): 有时处理歌词语言不正常工作 by MoYingJi · Pull Request #526 · imsyy/SPlayer

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@MoYingJi

Copy link

Collaborator

有时程序是不知道为何能跑起来的

  • 侦听了 lyricPlayerRef,发生变化时也会调用 processLyricLanguage
  • 优化。判断是否为 null、判断数组长度是否为 0 以不处理或提前返回;processLyricLanguage 接受侦听 lyricPlayerRef 时获取到的 player

@MoYingJi

Copy link

Collaborator Author

MoYingJi commented

Oct 31, 2025

edited

Loading

debug 完提交前一定要记得删除 log...
能强制推送把 log 删掉吗?(

因为已经侦听了 `lyricPlayerRef`,所以 `onMounted` 中处理歌词是不必要的

@MoYingJi

Copy link

Collaborator Author

MoYingJi commented

Nov 1, 2025

edited

Loading

不回我就先强推了喵

这次强制推送没有任何更改;原本在第二次提交中误将调试日志也给交上来了,第三第四次提交中删除了 log;这次强制推送将第三第四次提交(删除误提交的 log 的提交)合并到了第二次提交中,即修正第二次提交

@imsyy

Copy link

Owner

imsyy commented

Nov 1, 2025

😳

@imsyy imsyy merged commit 82ea11b into imsyy:dev

Nov 1, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@MoYingJi @imsyy