frontend: Treat peer DNS as StringSliceConfigOption (#178)

This commit is contained in:
Ruoxi Wang 2023-10-20 04:51:20 +08:00 committed by GitHub
parent ad935ad927
commit 40cfcd67e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,12 +245,12 @@ function handleChangeDns(tags) {
} }
}) })
if(validInput) { if(validInput) {
formData.value.Dns = tags formData.value.Dns.Value = tags
} }
} }
function handleChangeDnsSearch(tags) { function handleChangeDnsSearch(tags) {
formData.value.DnsSearch = tags formData.value.DnsSearch.Value = tags
} }
async function save() { async function save() {