mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-14 01:34:47 +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);
|
term.value.loadAddon(fitAddon);
|
||||||
termReady.value = true;
|
termReady.value = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user