Browse Source

bugfix:解决一直编译转圈圈的问题

pull/23/head
zjz1993 5 years ago
parent
commit
13a732c6cf
  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