core: trigger recalcStatus when setScore

This commit is contained in:
undefined committed 2024-05-29 22:36:52 +08:00
1 parent 6c3fc8bfc5
commit 3302480348
1 file changed
+1
+1
View File
@@ -636,6 +636,7 @@ export class ContestManagementHandler extends ContestManagementBaseHandler {
this.tdoc.score ||= {};
this.tdoc.score[pid] = score;
await contest.edit(domainId, this.tdoc.docId, { score: this.tdoc.score });
await contest.recalcStatus(domainId, this.tdoc.docId);
this.back();
}
}