From e73f2c010c1cf0d686d318201a0882f61e5d6bf0 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Tue, 14 Nov 2023 17:33:09 +0800 Subject: [PATCH] Auto Submit --- p__tasks__Jupyter__index.async.js | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/p__tasks__Jupyter__index.async.js b/p__tasks__Jupyter__index.async.js index 13ceb9c173..076a864cef 100644 --- a/p__tasks__Jupyter__index.async.js +++ b/p__tasks__Jupyter__index.async.js @@ -2092,12 +2092,12 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) { }) }) })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Jupytermodules.footer, - style: { - background: '#111c24' - }, - children: jupyterData !== null && jupyterData !== void 0 && jupyterData.open_evaluate ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + }), jupyterData !== null && jupyterData !== void 0 && jupyterData.open_evaluate ? /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Jupytermodules.footer, + style: { + background: '#111c24' + }, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { children: [gamesData !== null && gamesData !== void 0 && gamesData.time_limit ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: "\u672C\u5173\u6700\u5927\u6267\u884C\u65F6\u95F4\uFF1A".concat(gamesData === null || gamesData === void 0 ? void 0 : gamesData.time_limit, "\u79D2") @@ -2124,8 +2124,14 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) { type: "primary", children: btnTime !== 0 ? "".concat(btnTime, "s") : '评测' })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: searchParams.get("homework_common_id") && !(jupyterData !== null && jupyterData !== void 0 && jupyterData.homework_is_end) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: searchParams.get("homework_common_id") && !(jupyterData !== null && jupyterData !== void 0 && jupyterData.homework_is_end) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Jupytermodules.footer, + style: { + background: '#111c24' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { onClick: function onClick() { return submitWork(); },