mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: fix problem_create langs
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -115,7 +115,7 @@ Hydro 用户群:1085853538
|
||||
|
||||
- ui: 比赛页面添加打印快捷入口
|
||||
- ui: 比赛题目列表显示时空限制和提交按钮
|
||||
- core: 检查提解投票权限
|
||||
- core: 检查题解投票权限
|
||||
- ui: 修复题目配置页文件操作
|
||||
- ui: 移除旧的 window.Hydro.util 和 window.Hydro.component 对象
|
||||
- onsite-toolkit: 添加导入工具
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user