From bb7ee5cbf9f2e814a3cd5871fcd55aec424e9124 Mon Sep 17 00:00:00 2001 From: panda Date: Tue, 6 Sep 2022 11:31:01 +0800 Subject: [PATCH] allow problemconfig validator --- .../components/problemconfig/ProblemConfigEditor.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui-default/components/problemconfig/ProblemConfigEditor.tsx b/packages/ui-default/components/problemconfig/ProblemConfigEditor.tsx index 555d785f5..3be7646ab 100644 --- a/packages/ui-default/components/problemconfig/ProblemConfigEditor.tsx +++ b/packages/ui-default/components/problemconfig/ProblemConfigEditor.tsx @@ -28,8 +28,8 @@ interface Props { const configKey = [ 'type', 'subType', 'target', 'score', 'time', 'memory', 'filename', 'checker_type', 'checker', 'interactor', - 'user_extra_files', 'judge_extra_files', 'detail', 'outputs', 'redirect', - 'cases', 'subtasks', 'langs', + 'validator', 'user_extra_files', 'judge_extra_files', 'detail', 'outputs', + 'redirect', 'cases', 'subtasks', 'langs', ]; const subtasksKey = [