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

设置界面不能播放歌曲?是不是该用前端框架vue搞个spa了? #3

Open
masx200 opened this issue Apr 13, 2024 · 5 comments

Comments

@masx200
Copy link

masx200 commented Apr 13, 2024

设置界面不能播放歌曲?是不是该用前端框架vue搞个spa了?

@masx200
Copy link
Author

masx200 commented Apr 13, 2024

是不是应该在打开设置和退出设置的时候音乐继续播放才对,应该把音乐播放作为全局组件,始终显示才对哦

@qinlili23333
Copy link
Owner

设置内包含播放模式的调整,必须通过重载才能生效

@masx200
Copy link
Author

masx200 commented Apr 15, 2024

那如果进入设置没有修改东西,是不是就不需要重新加载了呢

@masx200
Copy link
Author

masx200 commented Apr 15, 2024

应该把设置页面作为一个组件,覆盖在播放器上面,就可以一边看设置一边播放了

@qinlili23333
Copy link
Owner

那如果进入设置没有修改东西,是不是就不需要重新加载了呢

我无法假定进入设置是否修改东西,所以只要进入设置之后,必须重新加载。这种设计还能避免因为PWA缓存问题导致不同版本的依赖文件出现在同一个页面上引发问题。

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

2 participants