This commit is contained in:
undefined committed 2024-04-10 18:21:18 +08:00
1 parent 803400822c
commit 9f302e7b71
3 files changed
+16 -14

No files matched your search

+1 -1
View File
@@ -549,7 +549,7 @@ export class ProblemSubmitHandler extends ProblemDetailHandler {
}
if (tid && !pretest && !contest.canShowSelfRecord.call(this, this.tdoc)) {
this.response.body = { tid };
this.response.redirect = this.url(this.tdoc.rule === 'homework' ? 'homework_detail' : 'contest_detail', { tid });
this.response.redirect = this.url(this.tdoc.rule === 'homework' ? 'homework_detail' : 'contest_problemlist', { tid });
} else {
this.response.body = { rid };
this.response.redirect = this.url('record_detail', { rid });