mirror of https://github.com/1Panel-dev/1Panel
fix: 修复`AttachAddon`会将数据以raw形式重复发送的问题
parent
12beef49b5
commit
57a6417812
|
@ -135,7 +135,7 @@ const initTerm = () => {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
term.value.loadAddon(new AttachAddon(terminalSocket.value));
|
term.value.loadAddon(new AttachAddon(terminalSocket.value, { bidirectional: false }));
|
||||||
term.value.loadAddon(fitAddon);
|
term.value.loadAddon(fitAddon);
|
||||||
termReady.value = true;
|
termReady.value = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue