mengkunsoft / MKOnlineMusicPlayer

⛔【停止维护】一个在线音乐播放器(仅 UI,无功能)
https://github.com/mengkunsoft/MKOnlineMusicPlayer/issues/79
1.88k stars 736 forks source link

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

Open goodhelp opened 2 years ago

goodhelp commented 2 years ago

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

goodhelp commented 2 years ago

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