|
|
|
@ -78,7 +78,7 @@ const processOverallResult = (source, config) => {
|
|
|
|
|
return { |
|
|
|
|
compile: source.compile, |
|
|
|
|
judge: { |
|
|
|
|
subtasks: source.judge.subtasks && source.judge.subtasks.map(st => ({ |
|
|
|
|
subtasks: source.judge ? source.judge.subtasks && source.judge.subtasks.map(st => ({ |
|
|
|
|
score: st.score, |
|
|
|
|
cases: st.cases.map(cs => ({ |
|
|
|
|
status: cs.status, |
|
|
|
@ -96,7 +96,7 @@ const processOverallResult = (source, config) => {
|
|
|
|
|
spjMessage: config.showTestdata ? cs.result.spjMessage : undefined, |
|
|
|
|
} |
|
|
|
|
})) |
|
|
|
|
})) |
|
|
|
|
})) : null |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|