mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-17 12:58:51 +08:00
fix: 修复AttachAddon会将数据以raw形式重复发送的问题
This commit is contained in:
parent
12beef49b5
commit
57a6417812
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue