mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
move docs, remove katex
This commit is contained in:
1 parent
da6002278d
commit
c4a13f2e27
27 files changed
+190
-550
No files matched your search
@@ -355,7 +355,7 @@ class ProblemEditHandler extends ProblemManageHandler {
|
||||
const pid = checkPid(this.request.body.pid);
|
||||
const pdoc = await problem.get(domainId, this.request.params.pid);
|
||||
await problem.edit(domainId, pdoc.docId, { title, content, pid });
|
||||
this.back();
|
||||
this.response.redirect = this.url('problem_detail', this.request.params.pid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user