Update add.html

This commit is contained in:
hzgjq authored and GitHub committed 2020-03-02 20:56:32 +08:00
1 parent 7dcb696492
commit 4b39a94d88
1 file changed
+1 -1
+1 -1
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()