core: fix problem_create langs

This commit is contained in:
undefined committed 2025-11-26 00:58:03 +08:00
1 parent e6c22d6f81
commit b530a8dc00
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -991,6 +991,7 @@ export class ProblemStatisticsHandler extends ProblemDetailHandler {
export class ProblemCreateHandler extends Handler {
async get() {
this.response.body.statementLangs = this.ctx.i18n.langs(false);
this.response.template = 'problem_edit.html';
this.response.body = {
page_name: 'problem_create',