Auto Submit

pull/1/head
autosubmit 3 years ago
parent e478aeb157
commit 14c6d5fa1c

@ -14536,39 +14536,25 @@ function code_repository_reducer(state, action) {
homeworkCommonId = searchParams.get('homework_common_id');
setTabActiveParams(item);
settingNotification(item);
if (!(item.tab_type !== 1)) {
_context.next = 15;
break;
}
if (!homeworkCommonId) {
_context.next = 11;
break;
if (item.tab_type !== 1) {
if (homeworkCommonId) {
(0,service/* commitFiles */.ZH)(game.identifier, {
homework_common_id: homeworkCommonId,
shixun_environment_id: item.shixun_environment_id
});
(0,service/* pullFiles */.gn)(game.identifier, {
homework_common_id: homeworkCommonId,
shixun_environment_id: item.shixun_environment_id
});
} else {
(0,service/* commitFiles */.ZH)(game.identifier, {
shixun_environment_id: item.shixun_environment_id
});
(0,service/* pullFiles */.gn)(game.identifier, {
shixun_environment_id: item.shixun_environment_id
});
}
}
_context.next = 7;
return (0,service/* commitFiles */.ZH)(game.identifier, {
homework_common_id: homeworkCommonId,
shixun_environment_id: item.shixun_environment_id
});
case 7:
_context.next = 9;
return (0,service/* pullFiles */.gn)(game.identifier, {
homework_common_id: homeworkCommonId,
shixun_environment_id: item.shixun_environment_id
});
case 9:
_context.next = 15;
break;
case 11:
_context.next = 13;
return (0,service/* commitFiles */.ZH)(game.identifier, {
shixun_environment_id: item.shixun_environment_id
});
case 13:
_context.next = 15;
return (0,service/* pullFiles */.gn)(game.identifier, {
shixun_environment_id: item.shixun_environment_id
});
case 15:
if (item.tab_type === 1) {
setShowCaseList(true);
} else {
@ -14588,7 +14574,7 @@ function code_repository_reducer(state, action) {
onUpdateCode();
setCodeLoading(true); //避免切到loading延迟
}
case 18:
case 7:
case "end":
return _context.stop();
}

@ -74009,7 +74009,7 @@ __webpack_require__.d(__webpack_exports__, {
;// CONCATENATED MODULE: ./src/utils/env/dev.ts
var DEV = {
// PROXY_SERVER: 'https://data.educoder.net',
PROXY_SERVER: 'https://pre-data.educoder.net',
PROXY_SERVER: 'https://data.educoder.net',
API_SERVER: '',
REPORT_SERVER: 'http://192.168.1.57:3001',
IMG_SERVER: 'https://new-testali-cdn.educoder.net',

Loading…
Cancel
Save