From bed4edb969820507547bc199f62c7a55d797ffa4 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Sat, 2 Sep 2023 17:48:33 +0800 Subject: [PATCH] Auto Submit --- p__Shixuns__Detail__Challenges__index.async.js | 7 ++++++- p__Shixuns__Detail__Challenges__index.chunk.css | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/p__Shixuns__Detail__Challenges__index.async.js b/p__Shixuns__Detail__Challenges__index.async.js index 73d6152788..898a434f93 100644 --- a/p__Shixuns__Detail__Challenges__index.async.js +++ b/p__Shixuns__Detail__Challenges__index.async.js @@ -350,7 +350,7 @@ var Jupyter = function Jupyter(_ref) { }; var handleSaveTPM = /*#__PURE__*/function () { var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var res; + var res, jurl; return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: @@ -364,6 +364,11 @@ var Jupyter = function Jupyter(_ref) { res = _context2.sent; if (res.status === 0) { message/* default.success */.ZP.success('保存成功!'); + jurl = jupyterUrl; + setJupyterUrl(""); + setTimeout(function () { + setJupyterUrl(jurl); + }, 100); } else { message/* default.info */.ZP.info(res.message); } diff --git a/p__Shixuns__Detail__Challenges__index.chunk.css b/p__Shixuns__Detail__Challenges__index.chunk.css index d34d7f57b6..33f416a733 100644 --- a/p__Shixuns__Detail__Challenges__index.chunk.css +++ b/p__Shixuns__Detail__Challenges__index.chunk.css @@ -409,13 +409,13 @@ padding: 25px 0 25px 15px; } .uploadWrapper___IIOXt { - display: block; + display: block !important; } .uploadWrapper___IIOXt [class~='ant-upload'] { - display: block; + display: block !important; } .uploadWrapper___IIOXt span { - display: block; + display: block !important; } /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\