fix: telnet终端命令多‘号导致命令无效
This commit is contained in:
1 parent
ca8605fd6e
commit
02f0820a69
1 file changed
+1
-1
@@ -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 = ' ';
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user