fix: keep `network` when save connection failed
This commit is contained in:
parent
83319c06d7
commit
28c326d608
|
@ -170,7 +170,7 @@ const onSaveConnection = async () => {
|
|||
generalForm.value.addr = ''
|
||||
generalForm.value.port = 0
|
||||
} else {
|
||||
generalForm.value.network = ''
|
||||
generalForm.value.network = 'tcp'
|
||||
generalForm.value.sock = ''
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue