We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我在你代码里面看到是逻辑貌似是一样的
The text was updated successfully, but these errors were encountered:
明白了
Sorry, something went wrong.
这里 switch 逻辑是有点重复可以简化成 case playMode.listLoop: case playMode.order: list = this.orderList; break;
case playMode.listLoop: case playMode.order: list = this.orderList; break;
还有这里
// 这样是否更好 this.isMute = percent === 0 ? true : false;
还可以直接这样写的:
this.isMute = percent === 0
这个项目大多代码都是很久以前写的,很多都可以简化,等有空的时候会做一些代码上的优化的
No branches or pull requests
我在你代码里面看到是逻辑貌似是一样的
The text was updated successfully, but these errors were encountered: