|
|
|
|
@ -995,8 +995,8 @@ var difficultyDesc = {
|
|
|
|
|
isLoading2 = _useState6[0],
|
|
|
|
|
setIsLoading2 = _useState6[1];
|
|
|
|
|
var recordRef = (0,_react_17_0_2_react.useRef)();
|
|
|
|
|
var uploadWorkspace = window_vnc_url ? "C:\/Windows\/AppReadiness\/userfiles" : "/data/workspace/userfiles";
|
|
|
|
|
var downloadWorkspace = window_vnc_url ? "C:\/Windows\/AppReadiness\/downloadfiles" : "/data/workspace/downloadfiles";
|
|
|
|
|
var uploadWorkspace = window_vnc_url ? "C:\/Windows\/AppReadiness\/userfiles" : "/data/workspace/keyan/userfiles";
|
|
|
|
|
var downloadWorkspace = window_vnc_url ? "C:\/Windows\/AppReadiness\/downloadfiles" : "/data/workspace/keyan/downloadfiles";
|
|
|
|
|
var restartVac = function restartVac() {
|
|
|
|
|
es_modal/* default */.Z.confirm({
|
|
|
|
|
title: '重启云主机',
|
|
|
|
|
@ -1239,7 +1239,7 @@ var difficultyDesc = {
|
|
|
|
|
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-jiaruketang1"
|
|
|
|
|
}), "\u5C4F\u5E55\u5F55\u5236"]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
|
|
|
|
|
}), taskData.mirror_type === "webssh" && /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
|
|
|
|
|
className: "file-item action w100",
|
|
|
|
|
title: "ssh\u76F4\u8FDE",
|
|
|
|
|
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
@ -2594,7 +2594,9 @@ var TimeTicket = 30000;
|
|
|
|
|
var ro = onLayout(_term, el.current);
|
|
|
|
|
return function () {
|
|
|
|
|
_term === null || _term === void 0 || _term.dispose();
|
|
|
|
|
ro === null || ro === void 0 || ro.unobserve(el.current);
|
|
|
|
|
if (ro && el.current) {
|
|
|
|
|
ro.unobserve(el.current);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}, [ws_url, el.current]);
|
|
|
|
|
@ -3284,14 +3286,16 @@ function reducer(state, action) {
|
|
|
|
|
});
|
|
|
|
|
setPercent(0);
|
|
|
|
|
return function () {
|
|
|
|
|
var _rfb3, _rfb4, _rfb5, _ro;
|
|
|
|
|
var _rfb3, _rfb4, _rfb5;
|
|
|
|
|
(_rfb3 = rfb) === null || _rfb3 === void 0 || _rfb3.removeEventListener('disconnect', onDisconnect);
|
|
|
|
|
(_rfb4 = rfb) === null || _rfb4 === void 0 || _rfb4.removeEventListener('connect', onConnect);
|
|
|
|
|
(_rfb5 = rfb) === null || _rfb5 === void 0 || _rfb5.removeEventListener('clipboard', onClipboardReceive);
|
|
|
|
|
unsub();
|
|
|
|
|
unSub2();
|
|
|
|
|
unSub3();
|
|
|
|
|
(_ro = ro) === null || _ro === void 0 || _ro.unobserve(el.current);
|
|
|
|
|
if (ro && el.current) {
|
|
|
|
|
ro.unobserve(el.current);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}, [vnc_url, window_vnc_url, linux_vnc, linkNum, imageId]);
|