ui: UI&UX enhance, bug fixes

Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
undefinedandpanda authored and panda committed 2022-05-10 01:55:20 +08:00
1 parent 3f37b02b79
commit 310189bc4d
37 files changed
+1104 -948

No files matched your search

+1
View File
@@ -178,6 +178,7 @@ export async function service(pending: string[], fail: string[]) {
}
}
for (const key in global.Hydro.service) {
if (key === 'server') continue;
const srv = global.Hydro.service[key];
if (!srv.started && srv.start) await srv.start();
}
+5 -4
View File
@@ -127,10 +127,11 @@ export interface FileInfo {
}
export interface TestCaseConfig {
input: string,
output: string,
time?: number,
memory?: number,
input: string;
output: string;
time?: number;
memory?: number;
score?: number;
}
export enum ProblemType {