mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-28 05:15:04 +08:00
fix: 修复AttachAddon
会将数据以raw形式重复发送的问题
This commit is contained in:
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);
|
||||
termReady.value = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user