mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-25 00:00:53 +00:00
fix: 增加终端连接断开提示信息 (#1571)
This commit is contained in:
@@ -184,6 +184,7 @@ const closeRealTerminal = (ev: CloseEvent) => {
|
||||
if (heartbeatTimer.value) {
|
||||
clearInterval(heartbeatTimer.value);
|
||||
}
|
||||
term.value.write('The connection has been disconnected.');
|
||||
term.value.write(ev.reason);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user