From 2b28d644ae5f8a815dc0a904d39726f7a21d95c9 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Wed, 29 Nov 2023 09:55:58 +0800 Subject: [PATCH] Auto Submit --- p__tasks__index.async.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/p__tasks__index.async.js b/p__tasks__index.async.js index c500d6db0a..52ac0a2af7 100644 --- a/p__tasks__index.async.js +++ b/p__tasks__index.async.js @@ -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) //不是虚拟仿真