mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add ProblemSelectAutoComplete for contest_edit
This commit is contained in:
1 parent
5bd851028c
commit
b88b6ca046
7 files changed
+39
-41
No files matched your search
@@ -591,9 +591,7 @@ export class ProblemCreateHandler extends Handler {
|
||||
export class ProblemPrefixListHandler extends Handler {
|
||||
@param('prefix', Types.Name)
|
||||
async get(domainId: string, prefix: string) {
|
||||
this.response.body = {
|
||||
pdocs: await problem.getPrefixList(domainId, prefix),
|
||||
};
|
||||
this.response.body = await problem.getPrefixList(domainId, prefix);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user