|
|
|
|
@ -241,7 +241,7 @@ var Status = /*#__PURE__*/function (Status) {
|
|
|
|
|
return Status;
|
|
|
|
|
}(Status || {});
|
|
|
|
|
var Jupyter = function Jupyter(_ref) {
|
|
|
|
|
var _user$userInfo, _user$userInfo2, _shixunsDetail$detail, _shixunsDetail$challe, _shixunsDetail$challe2;
|
|
|
|
|
var _user$userInfo, _user$userInfo2, _shixunsDetail$detail, _shixunsDetail$challe;
|
|
|
|
|
var shixunsDetail = _ref.shixunsDetail,
|
|
|
|
|
user = _ref.user,
|
|
|
|
|
dispatch = _ref.dispatch;
|
|
|
|
|
@ -728,15 +728,13 @@ var Jupyter = function Jupyter(_ref) {
|
|
|
|
|
})
|
|
|
|
|
})),
|
|
|
|
|
show: true
|
|
|
|
|
}, {
|
|
|
|
|
key: '4',
|
|
|
|
|
label: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
target: "_blank",
|
|
|
|
|
href: "https://".concat(port.current).concat(env/* default.TERMINAL_URL */.Z.TERMINAL_URL, "/terminals/1"),
|
|
|
|
|
children: "\u547D\u4EE4\u884C\u7EC8\u7AEF"
|
|
|
|
|
}),
|
|
|
|
|
show: (_shixunsDetail$challe2 = shixunsDetail.challenges) === null || _shixunsDetail$challe2 === void 0 ? void 0 : _shixunsDetail$challe2.is_jupyter
|
|
|
|
|
}].filter(function (item) {
|
|
|
|
|
}
|
|
|
|
|
// {
|
|
|
|
|
// key: '4',
|
|
|
|
|
// label: <a target='_blank' href={`https://${port.current}${ENV.TERMINAL_URL}/terminals/1`}>命令行终端</a>,
|
|
|
|
|
// show: shixunsDetail.challenges?.is_jupyter
|
|
|
|
|
// }
|
|
|
|
|
].filter(function (item) {
|
|
|
|
|
return item.show;
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|