mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add hint
This commit is contained in:
1 parent
fd2ac84535
commit
f3e25eccbe
3 files changed
+6
-2
No files matched your search
@@ -8,6 +8,7 @@ import { Route, Handler } from 'hydrooj/dist/service/server';
|
||||
import { buildContent } from 'hydrooj/dist/lib/content';
|
||||
import { ProblemAdd } from 'hydrooj/dist/lib/ui';
|
||||
import solution from 'hydrooj/dist/model/solution';
|
||||
import problem from 'hydrooj/dist/model/problem';
|
||||
import { PERM } from 'hydrooj/dist/model/builtin';
|
||||
import { FileTooLargeError, ValidationError } from 'hydrooj/dist/error';
|
||||
import type { ProblemConfig } from 'hydrooj';
|
||||
@@ -18,7 +19,6 @@ class FpsProblemImportHandler extends Handler {
|
||||
}
|
||||
|
||||
async run(domainId: string, result: any) {
|
||||
const problem = global.Hydro.model.problem;
|
||||
for (const p of result.fps.item) {
|
||||
const content = buildContent({
|
||||
description: p.description,
|
||||
|
||||
Reference in new issue
Block a user