|
|
|
|
@ -15238,7 +15238,7 @@ var MirrorModal_DataSetModal = function DataSetModal(_ref) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Entrance = function Entrance(_ref) {
|
|
|
|
|
var _CommitRecords$data14, _CommitRecords$data15, _CommitRecords$data16, _CommitRecords$data17, _CommitRecords$data18, _CommitRecords$data19, _competitions$competi4, _CommitRecords$data20, _CommitRecords$data21, _mirrorList$, _competitionStage$dat, _defaultPatten$, _CommitRecords$data22, _CommitRecords$data23, _CommitRecords$data24;
|
|
|
|
|
var _CommitRecords$data14, _CommitRecords$data15, _CommitRecords$data16, _CommitRecords$data17, _CommitRecords$data18, _CommitRecords$data19, _competitions$competi4, _CommitRecords$data20, _CommitRecords$data21, _mirrorList$4, _competitionStage$dat, _defaultPatten$, _CommitRecords$data22, _CommitRecords$data23, _CommitRecords$data24;
|
|
|
|
|
var dispatch = _ref.dispatch,
|
|
|
|
|
competitions = _ref.competitions,
|
|
|
|
|
loading = _ref.loading,
|
|
|
|
|
@ -16217,7 +16217,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
var handleCommit = /*#__PURE__*/function () {
|
|
|
|
|
var _ref13 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12() {
|
|
|
|
|
var _CommitRecords$data12, _CommitRecords$data13;
|
|
|
|
|
var payload, res, _res$del_filename, _res$del_filename2, s3;
|
|
|
|
|
var payload, _mirrorList$, _mirrorList$2, _mirrorList$3, res, _res$del_filename, _res$del_filename2, s3;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee12$(_context13) {
|
|
|
|
|
while (1) switch (_context13.prev = _context13.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
@ -16253,9 +16253,9 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if ((competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'gpu') {
|
|
|
|
|
payload.image_name = (mirrorInfo === null || mirrorInfo === void 0 ? void 0 : mirrorInfo.image_name) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.image_name);
|
|
|
|
|
payload.image_id = (mirrorInfo === null || mirrorInfo === void 0 ? void 0 : mirrorInfo.image_id) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.image_id);
|
|
|
|
|
payload.place = (mirrorInfo === null || mirrorInfo === void 0 ? void 0 : mirrorInfo.place) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.place);
|
|
|
|
|
payload.image_name = (mirrorInfo === null || mirrorInfo === void 0 ? void 0 : mirrorInfo.image_name) || (mirrorList === null || mirrorList === void 0 || (_mirrorList$ = mirrorList[0]) === null || _mirrorList$ === void 0 ? void 0 : _mirrorList$.tag) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.image_name);
|
|
|
|
|
payload.image_id = (mirrorInfo === null || mirrorInfo === void 0 ? void 0 : mirrorInfo.image_id) || (mirrorList === null || mirrorList === void 0 || (_mirrorList$2 = mirrorList[0]) === null || _mirrorList$2 === void 0 ? void 0 : _mirrorList$2.image_id) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.image_id);
|
|
|
|
|
payload.place = (mirrorInfo === null || mirrorInfo === void 0 ? void 0 : mirrorInfo.place) || (mirrorList === null || mirrorList === void 0 || (_mirrorList$3 = mirrorList[0]) === null || _mirrorList$3 === void 0 ? void 0 : _mirrorList$3.place) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.place);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
_context13.next = 4;
|
|
|
|
|
@ -16617,7 +16617,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
},
|
|
|
|
|
initialValues: {
|
|
|
|
|
image_id: competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.image_id,
|
|
|
|
|
image_name: (mirrorList === null || mirrorList === void 0 || (_mirrorList$ = mirrorList[0]) === null || _mirrorList$ === void 0 ? void 0 : _mirrorList$.image_name) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.image_name),
|
|
|
|
|
image_name: (mirrorList === null || mirrorList === void 0 || (_mirrorList$4 = mirrorList[0]) === null || _mirrorList$4 === void 0 ? void 0 : _mirrorList$4.image_name) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.image_name),
|
|
|
|
|
data_sets: competitionStage === null || competitionStage === void 0 || (_competitionStage$dat = competitionStage.data_sets) === null || _competitionStage$dat === void 0 || (_competitionStage$dat = _competitionStage$dat.map(function (item) {
|
|
|
|
|
return item === null || item === void 0 ? void 0 : item.name;
|
|
|
|
|
})) === null || _competitionStage$dat === void 0 ? void 0 : _competitionStage$dat.join('、'),
|