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

管理员添加比赛设置禁止排名后,普通参与用户无法查看比赛题目提交状态 #1075

Open
The-Thethe opened this issue Feb 20, 2025 · 5 comments

Comments

@The-Thethe
Copy link

Image
如图,管理不勾选禁止排名的情况下,普通参与用户可以查看比赛题目提交状态。
当勾选禁止排名的情况下,普通参与用户无法查看比赛题目提交状态。

Image Image 请问这个该如何解决?
@The-Thethe The-Thethe changed the title 管理员添加比赛设置禁止排名后,普通参与用户无法比赛题目提交状态 管理员添加比赛设置禁止排名后,普通参与用户无法查看比赛题目提交状态 Feb 20, 2025
@zhblue
Copy link
Owner

zhblue commented Feb 22, 2025

等待比赛结束后看结果

@zhblue
Copy link
Owner

zhblue commented Feb 22, 2025

或者把这里的20改成16
https://github.com/zhblue/hustoj/blob/master/trunk/web/contest.php#L31
试试看,是否符合你的预期。

@The-Thethe
Copy link
Author

或者把这里的20改成16 https://github.com/zhblue/hustoj/blob/master/trunk/web/contest.php#L31 试试看,是否符合你的预期。

更改后,选中禁止排名后,可以查看比赛题目提交状态,但是提交代码后,一直处于编译状态,刷新页面才更新状态

Image
请问一下,这个是什么原因造成的呀?

@zhblue
Copy link
Owner

zhblue commented Feb 24, 2025

@The-Thethe
Copy link
Author

https://github.com/zhblue/hustoj/blob/master/trunk/web/status-ajax.php#L72 这里还有一个20改16

谢谢张老师!我再试试看

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