mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
更改updateStatus逻辑,导入problem.status
This commit is contained in:
1 parent
4c3284c917
commit
d04628148f
6 files changed
+103
-105
No files matched your search
@@ -5,7 +5,7 @@ import * as recordEnum from 'vj/constant/record';
|
||||
const page = new NamedPage('judge_playground', async () => {
|
||||
const { default: SockJs } = await import('sockjs-client');
|
||||
|
||||
const sock = new SockJs(`/judge/consume-conn?token=${ UIContext.csrfToken }`);
|
||||
const sock = new SockJs(`/judge/consume-conn?token=${UiContext.csrfToken}`);
|
||||
sock.onopen = () => {
|
||||
const div = $('<div class="section visible">').appendTo('#messages');
|
||||
$('<div class="section__header"><h1 class="section__title">Connection opened.</h1></div>')
|
||||
|
||||
Reference in new issue
Block a user