|
|
|
|
@ -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"
|
|
|
|
|
})]
|
|
|
|
|
|