fix(AMLyric): 有时处理歌词语言不正常工作 by MoYingJi · Pull Request #526 · imsyy/SPlayer
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 1.1k
Merged
Conversation
Copy link
Collaborator
MoYingJi
commented
Oct 31, 2025
MoYingJi
commented
有时程序是不知道为何能跑起来的
- 侦听了
lyricPlayerRef,发生变化时也会调用processLyricLanguage - 优化。判断是否为
null、判断数组长度是否为 0 以不处理或提前返回;processLyricLanguage接受侦听lyricPlayerRef时获取到的player
Copy link
Collaborator Author
debug 完提交前一定要记得删除 log...
能强制推送把 log 删掉吗?(
因为已经侦听了 `lyricPlayerRef`,所以 `onMounted` 中处理歌词是不必要的
Copy link
Collaborator Author
不回我就先强推了喵
这次强制推送没有任何更改;原本在第二次提交中误将调试日志也给交上来了,第三第四次提交中删除了 log;这次强制推送将第三第四次提交(删除误提交的 log 的提交)合并到了第二次提交中,即修正第二次提交
MoYingJi
force-pushed
the
fix
branch
from
4c91aca to
9771cea
Compare
Copy link
Owner
imsyy
commented
Nov 1, 2025
imsyy commented
Nov 1, 2025😳
imsyy
merged commit
82ea11b
into
imsyy:dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment