fix: keep `network` when save connection failed

This commit is contained in:
Lykin 2024-04-08 15:25:10 +08:00
parent 83319c06d7
commit 28c326d608
1 changed files with 1 additions and 1 deletions

View File

@ -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 = ''
}