Auto Submit

dev_local_v9_test5
autosubmit 1 year ago
parent 4456005e1e
commit db59a41a0d

@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.6397c81a.js"></script>
<script src="/react/build/umi.ed0abd67.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -1128,6 +1128,8 @@ function reducer(state, action) {
is_my,
codes,
answer_text,
submit_rule,
show_case,
_getDisciplineIds,
_getDisciplineIds2,
ids,
@ -1185,7 +1187,7 @@ function reducer(state, action) {
}
} else {
// console.log(res.hack_sets, 'response1')
category = res.category, _user = res.user, code = res.code, language = res.language, _hack_sets = res.hack_sets, description = res.description, difficult = res.difficult, name = res.name, open_or_not = res.open_or_not, sub_discipline_id = res.sub_discipline_id, tag_discipline_id = res.tag_discipline_id, analysis = res.analysis, time_limit = res.time_limit, _test_set_average = res.test_set_average, test_set_score = res.test_set_score, _status = res.status, tag_discipline_ids = res.tag_discipline_ids, item_banks_group_id = res.item_banks_group_id, _res$is_file = res.is_file, is_file = _res$is_file === void 0 ? false : _res$is_file, hide_actual_output = res.hide_actual_output, code_compile_score = res.code_compile_score, languages = res.languages, is_my = res.is_my, codes = res.codes, answer_text = res.answer_text; //
category = res.category, _user = res.user, code = res.code, language = res.language, _hack_sets = res.hack_sets, description = res.description, difficult = res.difficult, name = res.name, open_or_not = res.open_or_not, sub_discipline_id = res.sub_discipline_id, tag_discipline_id = res.tag_discipline_id, analysis = res.analysis, time_limit = res.time_limit, _test_set_average = res.test_set_average, test_set_score = res.test_set_score, _status = res.status, tag_discipline_ids = res.tag_discipline_ids, item_banks_group_id = res.item_banks_group_id, _res$is_file = res.is_file, is_file = _res$is_file === void 0 ? false : _res$is_file, hide_actual_output = res.hide_actual_output, code_compile_score = res.code_compile_score, languages = res.languages, is_my = res.is_my, codes = res.codes, answer_text = res.answer_text, submit_rule = res.submit_rule, show_case = res.show_case; //
_getDisciplineIds = (0,util/* getDisciplineIds */.y3)(discips, sub_discipline_id), _getDisciplineIds2 = slicedToArray_default()(_getDisciplineIds, 2), ids = _getDisciplineIds2[0], dictData = _getDisciplineIds2[1]; // console.log('----',hack_sets);
new_hack_sets = is_file ? [{
input: '',
@ -1237,7 +1239,9 @@ function reducer(state, action) {
code_compile_score: code_compile_score,
hide_actual_output: hide_actual_output,
analysis: analysis,
answer_text: answer_text
answer_text: answer_text,
submit_rule: submit_rule,
show_case: show_case
},
hack_sets: new_hack_sets,
tags: tag_discipline_ids,
@ -1313,7 +1317,8 @@ function reducer(state, action) {
name: '',
item_banks_group_ids: bankstime,
is_file: false,
answer_text: ''
answer_text: '',
submit_rule: 1
},
tags: _tag_discipline_id ? _tag_discipline_id === null || _tag_discipline_id === void 0 ? void 0 : _tag_discipline_id.split(',').map(function (t) {
return parseInt(t, 10);

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save