diff --git a/p__Paperlibrary__Add__index.chunk.css b/p__Paperlibrary__Add__index.chunk.css index d6df9a69c1..d422972421 100644 --- a/p__Paperlibrary__Add__index.chunk.css +++ b/p__Paperlibrary__Add__index.chunk.css @@ -530,9 +530,6 @@ align-items: center; color: #3061D0; } -.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked']:first-child { - border-right-color: #C8D2EA; -} .right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked']:focus-within { box-shadow: none; } @@ -2689,7 +2686,7 @@ span.CodeMirror-selectedtext { } .scoremodal___upTFR .tabWrap___dR18c div[class~='ant-tabs-tab'] { font-size: 14px; - margin-right: 40px; + margin-right: 40px !important; color: #5f6368; } .scoremodal___upTFR .tabWrap___dR18c div[class~='ant-tabs-tab-active'] [class~='ant-tabs-tab-btn'] { diff --git a/p__User__Detail__Competitions__index.async.js b/p__User__Detail__Competitions__index.async.js index 04fbd03cc7..12b48c6d3f 100644 --- a/p__User__Detail__Competitions__index.async.js +++ b/p__User__Detail__Competitions__index.async.js @@ -524,7 +524,7 @@ var competitionsPage = function competitionsPage(_ref) { setbuttonloading(false); if ((res === null || res === void 0 ? void 0 : res.status) === 0) { message/* default.info */.ZP.info('创建成功'); - _umi_production_exports.history.push("/competitions/".concat(res === null || res === void 0 ? void 0 : res.identifier, "/edit?type=4")); + _umi_production_exports.history.push("/competitions/detail/".concat(res === null || res === void 0 ? void 0 : res.identifier, "?type=4")); } case 6: case "end": diff --git a/p__User__Detail__ExperImentImg__Detail__index.async.js b/p__User__Detail__ExperImentImg__Detail__index.async.js index 4caf2b107a..c239b38b69 100644 --- a/p__User__Detail__ExperImentImg__Detail__index.async.js +++ b/p__User__Detail__ExperImentImg__Detail__index.async.js @@ -1162,7 +1162,7 @@ var ClassroomListPage = function ClassroomListPage(_ref) { marginRight: 20 }, onClick: function onClick() { - _umi_production_exports.history.push("/shixuns/new?tab=".concat(Number(ListType) + 1, "&mirror=").concat(Result === null || Result === void 0 ? void 0 : Result.mirror_repository_id)); + (0,util/* openNewWindow */.xg)("/shixuns/new?tab=".concat(Number(ListType) + 1, "&mirror=").concat(Result === null || Result === void 0 ? void 0 : Result.mirror_repository_id)); }, children: "\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE" }), ListType === 0 && (Result === null || Result === void 0 ? void 0 : Result.status) === 2 && ((Result === null || Result === void 0 ? void 0 : Result.publish_status) === -1 || (Result === null || Result === void 0 ? void 0 : Result.publish_status) === 0 || (Result === null || Result === void 0 ? void 0 : Result.publish_status) === 1 || (Result === null || Result === void 0 ? void 0 : Result.publish_status) === 2 || (Result === null || Result === void 0 ? void 0 : Result.publish_status) === 3) && actionTab(), ListType === 0 && (Result === null || Result === void 0 ? void 0 : Result.status) === 0 && (Result === null || Result === void 0 ? void 0 : Result.is_making_end) === false && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { @@ -1729,9 +1729,13 @@ var ClassroomListPage = function ClassroomListPage(_ref) { return regeneratorRuntime_default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: - _context12.next = 2; - return handleFinish(objectSpread2_default()({}, form.getFieldsValue())); - case 2: + form.validateFields(function (errors, values) { + if (!errors) { + handleFinish(objectSpread2_default()({}, form.getFieldsValue())); + } + }); + // await handleFinish({...form.getFieldsValue()}) + case 1: case "end": return _context12.stop(); } diff --git a/p__User__Detail__ExperImentImg__index.async.js b/p__User__Detail__ExperImentImg__index.async.js index 9bd6e58b7a..df776ba5bf 100644 --- a/p__User__Detail__ExperImentImg__index.async.js +++ b/p__User__Detail__ExperImentImg__index.async.js @@ -484,7 +484,7 @@ var Option = es_select/* default.Option */.Z.Option; var ClassroomListPage = function ClassroomListPage(_ref) { - var _configData$cpu_memor, _configData$time_limi2; + var _location, _configData$cpu_memor, _configData$time_limi2; var user = _ref.user, newShixuns = _ref.newShixuns, classroomList = _ref.classroomList, @@ -658,6 +658,9 @@ var ClassroomListPage = function ClassroomListPage(_ref) { (0,react.useEffect)(function () { getData(); }, [ListType]); + (0,react.useEffect)(function () { + document.title = '实验镜像'; + }, [(_location = location) === null || _location === void 0 ? void 0 : _location.pathname]); var getData = /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { var _tabs$ListType; @@ -1237,7 +1240,7 @@ var ClassroomListPage = function ClassroomListPage(_ref) { children: "\u8FD0\u884C\u955C\u50CF" }), (record === null || record === void 0 ? void 0 : record.status) === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { onClick: function onClick() { - _umi_production_exports.history.push("/shixuns/new?tab=".concat(Number(ListType) + 1, "&mirror=").concat(record === null || record === void 0 ? void 0 : record.mirror_repository_id)); + (0,util/* openNewWindow */.xg)("/shixuns/new?tab=".concat(Number(ListType) + 1, "&mirror=").concat(record === null || record === void 0 ? void 0 : record.mirror_repository_id)); }, children: "\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE" })]