Browse Source

Merge branch 'master' of zhaojunzhe/fair-web into master

pull/31/head
richie 5 years ago committed by Gogs
parent
commit
40fce44407
  1. 2
      views/submission.ejs

2
views/submission.ejs

@ -337,7 +337,7 @@ if (token != null) {
console.log("Judge finished"); console.log("Judge finished");
vueApp.roughData.running = false; vueApp.roughData.running = false;
let max=0; let max=0;
if (p && p.result && p.result.judge) { if (p && p.result && p.result.judge && p.result.judge.subtasks) {
p.result.judge.subtasks.forEach(function (item) { p.result.judge.subtasks.forEach(function (item) {
item.cases.forEach(function (one) { item.cases.forEach(function (one) {
max = one.result.time max = one.result.time

Loading…
Cancel
Save