Update add.html

pull/430/head
hzgjq 2020-03-02 20:56:32 +08:00 committed by GitHub
parent 7dcb696492
commit 4b39a94d88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@
} }
$(function () { $(function () {
$("#type").val('{{.type}}'); $("#type").val(('{{.type}}' == '') ? 'tcp' : '{{.type}}');
resetForm() resetForm()
$("#type").on("change", function () { $("#type").on("change", function () {
resetForm() resetForm()