mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-05-04 02:03:31 +00:00
fix(webterminal): data.data
This commit is contained in:
@@ -85,7 +85,7 @@ function openTerminal(options) {
|
||||
term.write('Connection Reset By Peer');
|
||||
};
|
||||
sock.onmessage= function (data) {
|
||||
term.write(data);
|
||||
term.write(data.data);
|
||||
};
|
||||
sock.onerror= function () {
|
||||
term.write('Connection Reset By Peer');
|
||||
|
||||
Reference in New Issue
Block a user