@@ -154,6 +154,11 @@ const vueApp = new Vue({
code: <%- JSON.stringify(code) %>,
detailResult: <%- JSON.stringify(detailResult) %>
},
+ computed: {
+ singleSubtask() {
+ return this.detailResult.judge.subtasks.length === 1;
+ }
+ },
methods: {
getStatusString(statusCode) {
return statusToString[statusCode];