fix(webterminal): data.data

pull/123/head
liuzheng712 2016-03-04 20:28:52 +08:00
parent e7976e4235
commit 6a0edb63f0
1 changed files with 1 additions and 1 deletions

View File

@ -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');