mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: problemconfig: add i18n
This commit is contained in:
8 files changed
+63
-41
No files matched your search
@@ -72,8 +72,6 @@ export default function reducer(state = {
|
||||
}
|
||||
} else if (action.key === 'add') {
|
||||
subtasks.push({
|
||||
time: state.time || '1s',
|
||||
memory: state.memory || '256m',
|
||||
cases: [],
|
||||
score: 0,
|
||||
id: Object.keys(subtasks).map((i) => subtasks[i].id).reduce((a, b) => Math.max(+a, +b), 0) + 1,
|
||||
|
||||
Reference in new issue
Block a user