mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: rejudge: skip ignored submissions
This commit is contained in:
1 parent
b4f2efb139
commit
6cf6a57914
2 files changed
+5
-1
No files matched your search
@@ -216,7 +216,10 @@ class RecordDetailHandler extends ContestDetailBaseHandler {
|
||||
record.update(domainId, rid, $set),
|
||||
TaskModel.deleteMany({ rid: this.rdoc._id }),
|
||||
]);
|
||||
if (latest) await postJudge(latest);
|
||||
if (latest) {
|
||||
this.ctx.broadcast('record/change', latest);
|
||||
await postJudge(latest);
|
||||
}
|
||||
this.back();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user