|
|
|
|
@ -15677,13 +15677,14 @@ function tasks_reducer(state, action) {
|
|
|
|
|
}
|
|
|
|
|
var dealError = function dealError(re) {
|
|
|
|
|
if (re instanceof TypeError && !!prevCurrentPath.current) {
|
|
|
|
|
var saveCurrentPath = prevCurrentPath.current;
|
|
|
|
|
prevCurrentPath.current = 'stop';
|
|
|
|
|
dispatch({
|
|
|
|
|
type: constant/* EDIT_REP_CODE */.N$,
|
|
|
|
|
payload: {
|
|
|
|
|
currentPath: prevCurrentPath.current
|
|
|
|
|
currentPath: saveCurrentPath
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
prevCurrentPath.current = 'stop';
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
prevCurrentPath.current = '';
|
|
|
|
|
}, 500);
|
|
|
|
|
@ -15744,6 +15745,7 @@ function tasks_reducer(state, action) {
|
|
|
|
|
}));
|
|
|
|
|
return _init2.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
console.log(prevCurrentPath.current, 2222);
|
|
|
|
|
if (st === 0 //实训题
|
|
|
|
|
&& currentPath //有文件
|
|
|
|
|
&& !(unity_3d_routes && !with_code_file) //不是虚拟仿真
|
|
|
|
|
|