更改updateStatus逻辑,导入problem.status

This commit is contained in:
undefined committed 2020-05-15 11:41:45 +08:00
1 parent 4c3284c917
commit d04628148f
6 files changed
+103 -105

No files matched your search

+1 -1
View File
@@ -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>')