ui: objective: add dropdown component

This commit is contained in:
undefined committed 2026-04-29 03:07:48 +08:00
1 parent 125c4b2388
commit 01ffba8bb2
3 files changed
+16 -6

No files matched your search

+1 -1
View File
@@ -307,7 +307,7 @@ export class ProblemDetailHandler extends ContestDetailBaseHandler {
if (contest.isNotStarted(this.tdoc)) throw new ContestNotLiveError(tid);
if (!contest.isDone(this.tdoc, this.tsdoc) && (!this.tsdoc?.attend || !this.tsdoc.startAt)) throw new ContestNotAttendedError(tid);
// Delete problem-related info in contest mode
this.pdoc.tag.length = 0;
if (this.pdoc.tag) this.pdoc.tag.length = 0;
delete this.pdoc.nAccept;
delete this.pdoc.nSubmit;
delete this.pdoc.difficulty;