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

fix: 修复两处等级条件显示的 bug #1202

Closed
wants to merge 3 commits into from
Closed

fix: 修复两处等级条件显示的 bug #1202

wants to merge 3 commits into from

Conversation

cnsunyour
Copy link
Contributor

  1. 在支持等级条件显示的站点中,如果已经满级,那么所有等级的满足情况会全部显示不符合。原因是判断条件为“用户下一等级的level值是否超过当前等级的 level 值“,但是满级后没有”下一等级的 level 值“,因此导致判断失败。此修复在此条件上增加了”或下一等级名称不存在“。
  2. ttg 的 NonaByte 和 DoggaByte 两个等级的下载量标准不正确,应为 5T 和 10T ,现在把上传量的 50T 和 100T 当成下载量标准了。

ted423 added a commit that referenced this pull request Dec 11, 2022
@ted423
Copy link
Collaborator

ted423 commented Dec 11, 2022

改了下,手动加进去了

@ted423 ted423 closed this Dec 11, 2022
@cnsunyour cnsunyour deleted the dev branch December 11, 2022 09:26
@cnsunyour cnsunyour restored the dev branch December 11, 2022 10:18
@cnsunyour
Copy link
Contributor Author

改了下,手动加进去了

好。不过该文件的代码格式被改的好奇怪

@ted423
Copy link
Collaborator

ted423 commented Dec 11, 2022

应该是老大用了个自动格式化的插件

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

Successfully merging this pull request may close these issues.

2 participants