ui: add ProblemSelectAutoComplete for contest_edit

This commit is contained in:
undefined committed 2021-04-12 13:22:13 +08:00
1 parent 5bd851028c
commit b88b6ca046
7 files changed
+39 -41

No files matched your search

+1 -3
View File
@@ -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);
}
}