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

另外,随机播放按钮无效,点击了还是顺序播放 #200

Open
SAO-Asuna opened this issue Apr 20, 2020 · 3 comments
Open

另外,随机播放按钮无效,点击了还是顺序播放 #200

SAO-Asuna opened this issue Apr 20, 2020 · 3 comments

Comments

@SAO-Asuna
Copy link

No description provided.

@PokersKun
Copy link

我也发现了这个问题。
只有Aplayer组件设置了shuffle属性之后重新created才会默认实现随机播放,但设不设置shuffle点随机播放按钮之后都切换不了组件的shuffle状态也不会更新shuffleList(会触发update:shuffle和toggleShuffle来更新shouldShuffle,但没有实际效果),于是我利用组件的v-on:update:shuffle事件监听点击随机播放按钮返回的值,自己写了个函数随机调换音乐列表里的数据,同样可以解决问题。

@SAO-Asuna
Copy link
Author

是的,虽然可以解决问题,还是希望开发者能及时fixbug一下~

@YuxiangWang0525
Copy link

这貌似是原生Aplayer就有的Bug,脱离vue-aplayer后我使用原生APlayer也出现了相同的情况

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

3 participants