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 -1
View File
@@ -115,7 +115,7 @@ Hydro 用户群:1085853538
- ui: 比赛页面添加打印快捷入口
- ui: 比赛题目列表显示时空限制和提交按钮
- core: 检查提解投票权限
- core: 检查题解投票权限
- ui: 修复题目配置页文件操作
- ui: 移除旧的 window.Hydro.util 和 window.Hydro.component 对象
- onsite-toolkit: 添加导入工具
+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',