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

比赛排名无数据 #103

Open
langzhenjun opened this issue May 21, 2021 · 7 comments
Open

比赛排名无数据 #103

langzhenjun opened this issue May 21, 2021 · 7 comments

Comments

@langzhenjun
Copy link

比赛排名没有显示任何数据,不管是否在后台开启实时排名,都没有。在qduoj.com上,查看同样的页面,会有排名数据。

@langzhenjun
Copy link
Author

和sentry.io或者google analytics有关系吗?
sentry说请求数太多,google analytics是无法连接

@langzhenjun
Copy link
Author

image

@langzhenjun
Copy link
Author

这些广告分析什么的,是否可以在后台管理页面进行开关设置?

@virusdefender
Copy link
Contributor

这些都可以忽略,看下 api 咋返回的吧

@langzhenjun
Copy link
Author

image

@langzhenjun
Copy link
Author

数据是肯定有的。有题,也有多为学生提交。

@langzhenjun
Copy link
Author

image
比赛排名,打开“自动更新”开关时,发现并没有更新数据,怀疑是依旧从缓存中获取数据,查看以上部分代码,认为好像在切换开关时,并没有更新设置forceUpdate属性,然后还是使用了默认的false值,导致发出的请求url参数中,force_refresh还是等于0

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