fix: telnet终端命令多‘号导致命令无效

This commit is contained in:
TsMask
2024-09-13 09:58:13 +08:00
parent ca8605fd6e
commit 02f0820a69

View File

@@ -119,7 +119,7 @@ function fnAutoCompleteKeydown(evt: any) {
ws.send({ ws.send({
requestId: `telnet_${props.hostId}`, requestId: `telnet_${props.hostId}`,
type: 'telnet', type: 'telnet',
data: `${cmdStr}\r\n'`, data: `${cmdStr}\r\n`,
}); });
terminalState.text = ' '; terminalState.text = ' ';