|
|
|
|
@ -1780,6 +1780,13 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
var backExercise = function backExercise(type) {
|
|
|
|
|
if (document.activeElement.tagName !== "IFRAME") {
|
|
|
|
|
window.parent.postMessage('backExercise', '*');
|
|
|
|
|
// if (!lockExitFullRef.current) exitFull();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var fullChange = function fullChange(e) {
|
|
|
|
|
if ((0,fullscreen/* IsFull */.vp)()) {
|
|
|
|
|
setShowTool(false);
|
|
|
|
|
@ -1960,6 +1967,16 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
dispatch({
|
|
|
|
|
type: 'user/getUserInfo',
|
|
|
|
|
payload: {
|
|
|
|
|
objective_id: jupyterData.identifier,
|
|
|
|
|
objective_type: 'shixun'
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
if (searchParams.get("type") === 'exercises') {
|
|
|
|
|
backExercise('back');
|
|
|
|
|
}
|
|
|
|
|
_umi_production_exports.history.push("/shixuns/".concat(jupyterData.identifier, "/challenges"));
|
|
|
|
|
},
|
|
|
|
|
onCancel: function onCancel() {
|
|
|
|
|
|