Auto Submit

dev_local_v9_test1
autosubmit 1 year ago
parent df96f108d7
commit c4b18520df

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

@ -16214,6 +16214,19 @@ var Entrance = function Entrance(_ref) {
return _ref12.apply(this, arguments);
};
}();
var resetFilds = function resetFilds() {
setMirrorInfo({
image_name: '',
image_id: '',
place: ''
});
setMirrorParams({
image_name: '',
image_id: ''
});
setDataSets([]);
setModels([]);
};
var handleCommit = /*#__PURE__*/function () {
var _ref13 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12() {
var _CommitRecords$data12, _CommitRecords$data13;
@ -16271,6 +16284,7 @@ var Entrance = function Entrance(_ref) {
setIsEdit(false);
getCompetitionCommitRecords();
setCommitModalVis(false);
resetFilds();
if ((res === null || res === void 0 || (_res$del_filename = res.del_filename) === null || _res$del_filename === void 0 ? void 0 : _res$del_filename.length) > 0) {
s3 = new (browser_default()).S3({
apiVersion: '2006-03-01',
@ -16591,6 +16605,7 @@ var Entrance = function Entrance(_ref) {
confirmLoading: loading["competitions/postCompetitionCommitRecords"],
onCancel: function onCancel() {
setCommitModalVis(false);
resetFilds();
},
onOk: function onOk() {
form.submit();

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