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.addr = ''
|
||||||
generalForm.value.port = 0
|
generalForm.value.port = 0
|
||||||
} else {
|
} else {
|
||||||
generalForm.value.network = ''
|
generalForm.value.network = 'tcp'
|
||||||
generalForm.value.sock = ''
|
generalForm.value.sock = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue