ui: submission status

This commit is contained in:
undefined committed 2021-05-16 12:55:03 +08:00
1 parent 256ff96c57
commit e0b5700cfc
8 files changed
+90 -22

No files matched your search

+2 -1
View File
@@ -23,7 +23,7 @@ export class ProblemModel {
static PROJECTION_LIST: Field[] = [
'_id', 'domainId', 'docType', 'docId', 'pid',
'owner', 'title', 'nSubmit', 'nAccept', 'difficulty',
'tag', 'hidden',
'tag', 'hidden', 'stats',
];
static PROJECTION_PUBLIC: Field[] = [
@@ -275,6 +275,7 @@ ProblemModel.extend((docId, pid) => ({
tag: [],
data: [],
additional_file: [],
stats: {},
hidden: true,
config: '',
difficulty: 0,