Commit d48020a9 authored by liuzheng712's avatar liuzheng712

test

parent 210b3c85
...@@ -86,7 +86,7 @@ function openTerminal(options) { ...@@ -86,7 +86,7 @@ function openTerminal(options) {
}; };
sock.onmessage= function (data) { sock.onmessage= function (data) {
try { try {
term.write(data) term.write(data.data)
} catch (e) { } catch (e) {
term.write(JSON.parse(data.data)['data']) term.write(JSON.parse(data.data)['data'])
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment