Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function中的ajax读取列表,不应采用for循环提交ajax请求,很容易出错! #81

Open
goodhelp opened this issue Oct 3, 2021 · 1 comment

Comments

@goodhelp
Copy link

goodhelp commented Oct 3, 2021

function.js中796行ajaxPlayList(musicList[i].id, i),采用for循环取歌单,很容易出错,报net::ERR_CONNECTION_RESET 200 (OK)错误,XMLHttpRequest.status会为0,应该采用递归方式ajax取歌单歌曲!

@goodhelp
Copy link
Author

goodhelp commented Oct 3, 2021

这就是有时点击播放列表,有时会读取失败的原因!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant