mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: trigger recalcStatus when setScore
This commit is contained in:
1 file changed
+1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user